Software Developer's Kit - ChemDraw

Send comments on this topic
CDRectangleType Enumeration
See Also 

Description

Types of rectangle for graphics.

Members

MemberValueDescription
kCDRectangleTypePlain0
kCDRectangleTypeRoundEdge1
kCDRectangleTypeShadow2
kCDRectangleTypeShaded4
kCDRectangleTypeFilled8
kCDRectangleTypeDashed16 
kCDRectangleTypeBold32  

Remarks

The property RectangleType is a read only property. However, as it works with a bit mask, the type of rectangle can be modified changing the values of the boolean properties:

IsRoundedRectangle (bit 0)
IsShadowed (bit 1)
IsShaded (bit 2)
IsFilled (bit 3)
IsDashed (bit 4)
IsBold (bit 5)

All the possible combinations are available.

See Also