|CDX Constant Name:||kCDXProp_BoundingBox|
|CDX Constant Value:||0x0204|
|Property of objects:||kCDXObj_Document, kCDXObj_Page, kCDXObj_Group, kCDXObj_Fragment, kCDXObj_Text, kCDXObj_Graphic, kCDXObj_Curve, kCDXObj_EmbeddedObject, kCDXObj_Table, kCDXObj_NamedAlternativeGroup, kCDXObj_Spectrum, kCDXObj_TLCPlate, kCDXObj_Arrow|
|First written/read in:||ChemDraw 4.0|
|Required?||Required for pictures and spectra. Required for graphics and text until 6.0|
The smallest rectangle that encloses the graphical representation of the object.
When used in conjunction with Graphic objects, this properly does not, in fact, represent a bounding box but rather represents a pair of points whose (x, y) values consist of the (left, top) and (right, bottom) members of the rectangle. Those two points are then used to further define the Graphic in different ways depending on the kCDXProp_Graphic_Type of the graphic. This is, obviously, an unfortunate complication to the CDX format. It will likely be resolved in a future version of ChemDraw.
If this property is absent:
If possible, a reasonable bounding box will be guessed. For example, if a bounding box is omitted for an atom label (in ChemDraw 6.0 and later), the label will be positioned based on the location of its atom. Some objects (such as atoms) are defined fully by their 2D Position, and no bounding box is necessary. Note that this propery is required for pictures and spectra, since no guess can be made about the size of those objects.