(Document and Medical Imaging toolkits)
The polyruler annotation object is an array of points that create a sequence of joined rulers. In design mode, each line segment is formed with a mouse click, and the object is completed on a double click.
The polyruler can be used to measure the distance of an irregularly shaped object. As ruler segments are added, removed, or changed in length, a running total of the total distance is displayed.
Holding down the Shift key while drawing the rulers will draw the rulers at an angle that is a multiple of 45 degrees.
In design mode, click on the object with the right mouse button to do the following:
Undo the last user action.
Cut or copy the object to the clipboard.
Delete the object.
Select all objects.
Bring the object to the front or send it to the back.
Lock and unlock annotation objects. See Password Dialog Box for Annotations.
(If the object has multiple nodes) Add or delete nodes. Add a node by clicking on the spot where you wish to add a node, then select Add Node. To delete a node, click on the node you wish to delete and select Delete Node.
Change the Name properties. See the Name Dialog Box for Annotations.
Change the line width and style properties. See Line Dialog Box for Annotations.
Change the binary raster operation (ROP2) code. See ROP2 Dialog Box for Annotations.
Change the fill mode and the fill pattern. See Fill Dialog Box for Annotations.
Change the foreground and background colors. See Color Dialog Box for Annotations.
Change the font selection and font characteristics. See Font Dialog Box for Annotations.
Change the measurement units, precision and gauge length. See Ruler Dialog Box for Annotations.
Change the node properties. See Nodes Dialog Box for Annotations.
Change the fixed state. See Fixed Dialog Box for Annotations.
Set and manage hyperlink properties for an object or group of objects. Note: The actual management of a 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.
For information on flipping, reversing or rotating annotation objects, refer to Flipping, Reversing and Rotating Annotation Objects.
For low-level implementation details, refer to Polyruler Annotation Object.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries