PDFView4NET WinForms Edition


O2S.Components.PDFView4NET Namespace > PDFPageView Class : DefaultMeasureAnnotationScaleAndUnit Property
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;}

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 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also