OD_LABELPPDATA structure

struct {
	BOOL bModify;
	BOOL bOrientationEnabled;
	OD_CONTROL_POINT nCtlPoint;
	int nXOffset;
	int nYOffset;
	int nPctAlong;
	int nLineDistance;
	BOOL bSelOrientationEnabled;
	BOOL bSelOrientation;
	BOOL bSelXOffset;
	BOOL bSelYOffset;
	BOOL bSelPctAlong;
	BOOL bSelLineDistance;
} OD_LABELPPDATA;
Used for passing data to and from a CODLabelCompPP property page.

Defined in: OdLabelCompPP.h

Members

bModify

When passing data to property page, indicates if component selection is to be enabled. When retrieving data from property page, indicates if values have been changed (values are invalid in this case if the flag is set to FALSE).

bOrientationEnabled

Flag indicating if label orientation is on or off

nCtlPoint

Control point for bounds orientation (9 enumerated possible values).

nXOffset

X offset from calculated orientation point.

nYOffset

Y offset from calculated orientation point.

nPctAlong

Percentage along line for line orientation.

nLineDistance

Distance from line for line orientation.

bSelOrientationEnabled

When passing data to CODLabelCompPP, indicates whether the orientation flag is shared amongst components. When receiving data from CODLabelCompPP, indicates whether the orientation flag has been changed by the user.

bSelOrientation

When passing data to CODLabelCompPP, indicates whether the label orientation is shared amongst components. When receiving data from CODLabelCompPP, indicates whether the label orientation has been changed by the user.

bSelXOffset

When passing data to CODLabelCompPP, indicates whether the X offset from the label control point is shared amongst components. When receiving data from CODLabelCompPP, indicates whether the X offset from the label control point has been changed by the user.

bSelYOffset

When passing data to CODLabelCompPP, indicates whether the Y offset from the label control point is shared amongst components. When receiving data from CODLabelCompPP, indicates whether the Y offset from the label control point has been changed by the user.

bSelPctAlong

When passing data to CODLabelCompPP, indicates whether the percent field is shared amongst components. When receiving data from CODLabelCompPP, indicates whether the percent field has been changed by the user.

bSelLineDistance

When passing data to CODLabelCompPP, indicates whether the line distance field is shared amongst components. When receiving data from CODLabelCompPP, indicates whether the line distance field has been changed by the user.

Comments

When passing data to the property page, the bSelX members are set to FALSE if their corresponding initialization values are not shared amongst all the components being modified to which the value applies. When data is passed back from the property page, the bSelX members indicate whether their corresponding values were changed by the user. If no values have been changed, the bModified field will be set to FALSE and no other values will be passed back (i.e. if bModified is FALSE when data is passed back, the remainder of the data contained in the structure should be ignored).