PDFView4NET WinForms Edition
ScaleAndUnit Property (PDFPolyMeasureAnnotation)




O2S.Components.PDFView4NET.Annotations Namespace > PDFPolyMeasureAnnotation Class : ScaleAndUnit Property
Gets or sets the scale and unit a point in the PDF file corresponds to.
Syntax
'Declaration
 
Public Property ScaleAndUnit As String
'Usage
 
Dim instance As PDFPolyMeasureAnnotation
Dim value As String
 
instance.ScaleAndUnit = value
 
value = instance.ScaleAndUnit
public string ScaleAndUnit {get; set;}
public: __property string* get_ScaleAndUnit();
public: __property void set_ScaleAndUnit( 
   string* value
);
public:
property String^ ScaleAndUnit {
   String^ get();
   void set (    String^ value);
}

Property Value

The real word unit and scale a point in the PDF file corresponds to.
Remarks
The format of this property is "scale unit = scale unit", such as "1 pt = 10 ft" meaning that 1 point corresponds to 10 feet. Supported units are "mm" (millimeter), "cm" (centimeter), "m" (meter), "km" (kilometer), "pt" (point), "in" (inch), "ft" (foot) and "mi" (mile).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFPolyMeasureAnnotation Class
PDFPolyMeasureAnnotation Members