VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Measurements Namespace / MeasurementAnnotationData Class / MeasuringTextTemplate Property
Syntax Remarks Requirements SeeAlso
In This Topic
MeasuringTextTemplate Property (MeasurementAnnotationData)
In This Topic
Gets or sets the text block template for measurement result.
Syntax
'Declaration

<DescriptionAttribute("The text block template for measurement result.")>
Public Property MeasuringTextTemplate As System.String

[Description("The text block template for measurement result.")]
public System.String MeasuringTextTemplate { get; set; }

Remarks

Text template has format, which is similar to a common format string, but template uses the dictionary keys (for example "{Length}"), which are returned by GetMeasuredValues(VintasoftImage) method, instead of common indexes ({0}).
Example: "{Length:f2}" - this template can be used to get lines length of LinearMeasuringData with 2 decimal places.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also