The DISPANNOTATIONPROPS structure contains options for controlling the appearance and behavior of annotation objects.
Size of this structure in bytes, for versioning. Use the sizeof() function to calculate this value.
COLORREF value that specified the annotation color. This color will be applied as the default color for the newly created annotation if uFlags was set to DCANNOTATION_APPLYCOLOR_FORNEW.
Flags that indicates whether to show the tick marks on the annotation ruler or only show the two tick marks (at the beginning and the end).
Flag that indicates whether to show the annotation ruler with tick marks. Possible values are:
|The ruler will not have tick marks; it will be like a simple line. This is the default value.
|The ruler will have tick marks and gauges.
Flags the control the behavior of the annotation object. You can combine values together when appropriate by using a bitwise OR ( | ). Possible values are:
Flags that determine on which annotation object the new setting will be applied:
|[0x00000000] Apply on selected object.
|[0x00000100] Apply on objects that have the same type. (All rulers or all arrows).
|[0x00000200] Apply on all annotation objects.
Flag that sets the options in this structure as the default options for the newly created annotation objects:
|[0x00001000] The new setting will be the default setting for the annotation object that will be created.
Value that indicate the annotation object text color.
This structure is mainly used to change or retrieve the properties of the annotation objects, and it works only with the following actions: