Class PdfViewerMeasurementSettings
Represents the settings for measurements in the PDF viewer component in Blazor applications.
Inheritance
PdfViewerMeasurementSettings
Assembly: Syncfusion.Blazor.SfPdfViewer.dll
Syntax
public class PdfViewerMeasurementSettings : SfBaseComponent
Examples
Below is an example of how to use PdfViewerMeasurementSettings in a Blazor component:
Constructors
PdfViewerMeasurementSettings()
Declaration
public PdfViewerMeasurementSettings()
Properties
ChildContent
Declaration
[Parameter]
[JsonIgnore]
public RenderFragment ChildContent { get; set; }
Property Value
ConversionUnit
Defines the unit for measuring annotation. By default it is "in".
Declaration
[Parameter]
[JsonPropertyName("conversionUnit")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public CalibrationUnit ConversionUnit { get; set; }
Property Value
Depth
Defines the value for depth. By default it is 96.
Declaration
[Parameter]
[JsonPropertyName("depth")]
public int Depth { get; set; }
Property Value
DisplayUnit
Defines the display unit for measuring annotation. By default it is "inch".
Declaration
[Parameter]
[JsonPropertyName("displayUnit")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public CalibrationUnit DisplayUnit { get; set; }
Property Value
ScaleRatio
Defines the scale ratio for measuring annotation. By default it is "1". It will be multiplied the actual value of measurement and this multiplied value only displayed in UI.
Declaration
[Parameter]
[JsonPropertyName("scaleRatio")]
public double ScaleRatio { get; set; }
Property Value
jsProperty
Declaration
protected string jsProperty { get; set; }
Property Value
mainParent
Declaration
protected SfBaseComponent mainParent { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Declaration
protected override Task OnParametersSetAsync()
Returns