Setting Defaults

Note:

This topic is for Document/Medical only.

When using automated annotations, you can change the default properties of the user interface and the objects in the container by clicking on the container with the right mouse button. The popup menu lets you do the following:

image\sqrblit.gif Undo the last user action.

image\sqrblit.gif Cut, copy and paste objects using the Windows clipboard.

image\sqrblit.gif Delete all selected objects.

image\sqrblit.gif Select all annotation objects in the container.

image\sqrblit.gif Arrange the layering of an object or group of objects.

image\sqrblit.gif Lock and unlock annotation objects. See Password Dialog Box for Annotations.

image\sqrblit.gif Change the Name properties. See Name Dialog Box for Annotations.

image\sqrblit.gif Change the default line width and style properties. See Line Dialog Box for Annotations.

image\sqrblit.gif Change the ROP2 code property. See ROP2 Dialog Box for Annotations.

image\sqrblit.gif Change whether transparency is used.

image\sqrblit.gif Change the transparent color. See Color Dialog Box for Annotations.

image\sqrblit.gif Change the default fill mode (transparent, translucent, or opaque) and the fill pattern. See Fill Dialog Box for Annotations.

image\sqrblit.gif Change the polygonal fill mode, which controls which areas are filled when lines cross. See Fill Dialog Box for Annotations.

image\sqrblit.gif Change the default foreground and background colors. See Color Dialog Box for Annotations.

image\sqrblit.gif Change the background color used by Note, Redact, or Hilite objects. See Color Dialog Box for Annotations.

image\sqrblit.gif Change the font selection and font characteristics. See Font Dialog Box for Annotations.

image\sqrblit.gif Change the Button font selection and font characteristics. See Font Dialog Box for Annotations.

image\sqrblit.gif Change the metafile to be used by Hotspot objects. See Hotspot Metafile Dialog Box for Annotations.

image\sqrblit.gif Change the metafile to be used by Encrypt objects. See Encrypt Metafile Dialog Box for Annotations.

image\sqrblit.gif Change the metafile to be used by Decrypt objects. See Decrypt Metafile Dialog Box for AnnotationsDecrypt.

image\sqrblit.gif Change the default Ruler properties (length, gauge, tic marks, measurement units, precision). See Ruler Dialog Box for Annotations.

image\sqrblit.gif Change the node properties for objects that have nodes (whether to display the nodes and which nodes to display). See Nodes Dialog Box for Annotations.

image\sqrblit.gif Change the default Protractor properties (whether to draw the inside or outside angle, how far out to draw the angle, whether to use radians or degrees, which unit abbreviation, and precision). See Protractor Dialog Box for Annotations.

image\sqrblit.gif Change the default Point properties (whether to use a bitmap, whether to use transparency, transparent color, border color, radius, fill color, fixed size). See Point Default Properties Dialog Box for Annotations.

image\sqrblit.gif Change the default Encrypt properties (key, type (encryptor or decryptor), and location). See Encrypt Dialog Box for Annotations.

image\sqrblit.gif Change the default Fixed properties. See Fixed Dialog Box for Annotations.

image\sqrblit.gif Set and manage hyperlink properties for an object or group of objects.

Note:

The actual management of hyperlink must be done through low-level implementation. Only the Menu Item "Hyperlink" and an associated event are provided through the automation object. For more information, refer to Implementing Annotation Hyperlinks.

The default background color does not affect highlight, redaction, and note objects. To change the default background color for these objects, you have to use the appropriate menu item, such as Redact Background Color.

For information about grouping selected objects, refer to Grouping and Ungrouping Annotation Objects.

Use the AnnSetAutoMenuItemEnable method to enable or disable a menu item for one or more annotation objects.

Use the AnnSetOptions method and the AnnGetOptions method to control the following features:

image\sqrblit.gif Rubber Stamp Display Style

image\sqrblit.gif XP Style Annotation Toolbar

image\sqrblit.gif Alpha Background Fill Option

image\sqrblit.gif Annotation Rotate Option

image\sqrblit.gif Annotation Side Handles

image\sqrblit.gif Annotation Multi-select

image\sqrblit.gif Annotation Cursors

image\sqrblit.gif ESC to Cancel

image\sqrblit.gif Calibrate Ruler Feature

image\sqrblit.gif Dot Dash Lines

image\sqrblit.gif Text Annotation Options

For more information about these features, refer to New Annotation Features of Version 14.5.

If the annotation objects are container, automation, text, text pointer, stamp, note, pushpin, or button objects it is possible to use the AnnGetTextOptions method and the AnnSetTextOptions method to set the objects to show or hide the text and to set the color of the text. In addition, if the annotation objects are text or stamp objects these methods can set the objects to show or hide the borders of the object. In version 14.5, note that these features must be enabled using the AnnSetOptions method.

Use the AnnSetFillMode method and the AnnGetFillMode method to manage the fill mode used by annotation objects. The AnnSetFillModeExt method and the AnnGetFillModeExt method extends the original methods to support the ANN_FILLMODE_ALPHA fill mode. Before calling these two methods, enable the alpha background fill mode by calling the AnnSetOptions method.

For more information about these features, refer to New Annotation Features of Version 14.5.

For low-level implementation details, refer to Container Annotation Object and Annotation Automation Object.

The default background color does not affect highlight, redaction, and note objects.