PDFView4NET WinForms Edition
DefaultMeasureAnnotationScaleAndUnit Property




O2S.Components.PDFView4NET Namespace > PDFPageView Class : DefaultMeasureAnnotationScaleAndUnit Property
Gets or sets the scale and unit a unit in the PDF file corresponds to.
Syntax
'Declaration
 
<BrowsableAttribute(True)>
<CategoryAttribute("PDF Annotations")>
<DescriptionAttribute("Unit and scale for converting a PDF point")>
<DefaultValueAttribute("1 pt = 1 pt")>
Public Property DefaultMeasureAnnotationScaleAndUnit As String
'Usage
 
Dim instance As PDFPageView
Dim value As String
 
instance.DefaultMeasureAnnotationScaleAndUnit = value
 
value = instance.DefaultMeasureAnnotationScaleAndUnit
[Browsable(true)]
[Category("PDF Annotations")]
[Description("Unit and scale for converting a PDF point")]
[DefaultValue("1 pt = 1 pt")]
public string DefaultMeasureAnnotationScaleAndUnit {get; set;}
[Browsable(true)]
[Category("PDF Annotations")]
[Description("Unit and scale for converting a PDF point")]
[DefaultValue("1 pt = 1 pt")]
public: __property string* get_DefaultMeasureAnnotationScaleAndUnit();
public: __property void set_DefaultMeasureAnnotationScaleAndUnit( 
   string* value
);
[Browsable(true)]
[Category("PDF Annotations")]
[Description("Unit and scale for converting a PDF point")]
[DefaultValue("1 pt = 1 pt")]
public:
property String^ DefaultMeasureAnnotationScaleAndUnit {
   String^ get();
   void set (    String^ value);
}

Property Value

The real word unit and scale a unit 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

PDFPageView Class
PDFPageView Members