The Wayback Machine - https://web.archive.org/web/20190326221703/http://www.cambridgesoft.com:80/services/documentation/sdk/chemdraw/cdx/properties/Graphic_Type.htm

Graphic_Type Property

CDXML Name:GraphicType
CDX Constant Name:kCDXProp_Graphic_Type
CDX Constant Value:0x0A00
Data Size:INT16
Property of objects:kCDXObj_Graphic
First written/read in:ChemDraw 4.0
Required?No

Description:

The type of graphical object.

In CDX files produced by ChemDraw 8.0, this property was mistakenly written as a 1-byte INT8 value. When reading CDX files, if the size of this property is found to be 1 byte instead of the expected 2 bytes, the actual value should be interpreted as actualType = (INT16)savedType. CDX format interpreters that follow the best practices for reading integer values from CDX files will handle this error automatically. ChemDraw returned to writing INT16 values starting with version 8.0.6.

Graphic objects are the only objects whose kCDXProp_BoundingBox property has a special meaning, representing a pair of points rather than a rectangle. The meaning of those two points in the context of each graphic type is shown below

This is an enumerated property. Acceptible values are shown in the following list:
Value CDXML Name Description
0 Undefined Undefined
1 Line Line
(kCDXProp_Line_Type should be present. kCDXProp_Arrow_Type may also be present.)
The two points stored within the kCDXProp_BoundingBox represent the start and end of the line.
2 Arc Arc
(kCDXProp_Line_Type should be present. kCDXProp_Arc_AngularSize should be present. kCDXProp_Arrow_Type may also be present.)
The two points stored within the kCDXProp_BoundingBox represent the center and end of he arc.
3 Rectangle Rectangle
(kCDXProp_Rectangle_Type should be present)
The two points stored within the kCDXProp_BoundingBox represent two opposing corners of the rectangle.
4 Oval Oval
(kCDXProp_Oval_Type should be present)
The two points stored within the kCDXProp_BoundingBox represent the center and semimajor end of the oval.
5 Orbital Orbital
(kCDXProp_Orbital_Type should be present)
The two points stored within the kCDXProp_BoundingBox represent the center and end of the orbital.
6 Bracket Bracket
(kCDXProp_Bracket_Type should be present)
The two points stored within the kCDXProp_BoundingBox represent the two ends of the bracket.
7 Symbol Symbol
(kCDXProp_Symbol_Type should be present)
The two points stored within the kCDXProp_BoundingBox represent the center of the symbol and a second point indicating the symbol's size.

If this property is absent:

The graphic is treated as having Undefined type. This is not recommended.

 


CDX Documentation index