AnnSetUnit method (Main Control)
Visual Basic
example
Visual
C++ 4.0 example
Syntax short AnnSetUnit(OLE_HANDLE hObject, short nUnit, LPCTSTR pszUnitAbbrev, short nPrecision, BOOL bSelected);
Overview: Refer to Ruler Annotation Object.
Remarks
(Document/Medical only) Sets the unit of measurement for the Ruler object.
Only Automation and Ruler objects are affected. For more information, refer to Annotation Automation Object or Ruler Annotation Object.
See Also
Elements: AnnGetUnit method, AnnSetGaugeLength method, AnnSetBitmapDpiX method, AnnGetBitmapDpiX method, AnnGetBitmapDpiY method, AnnSetBitmapDpiY method, AnnGetDistance method, AnnGetGaugeLength method
Topics: Annotations (Document/Medical only): Object Manipulation