Resolution Property
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
Description
Gets or sets a resolution, in dots per inch (dpi) for all images, provided through the View property. When this property is set to zero, the system resolution is used.
Syntax
public int Resolution { get; set; }Public Property Resolution As IntegerExamples
The following example uses RulerBarViewGenerator.Resolution to configure resolution as part of the ruler bar view generator workflow. The configured value is checked before the workflow continues.
rulerBarViewGenerator.Resolution = 10;
Console.WriteLine($"Resolution used by Ruler Bar View Generator: {rulerBarViewGenerator.Resolution}");rulerBarViewGenerator.Resolution = 10
Console.WriteLine($"Resolution used by Ruler Bar View Generator: {rulerBarViewGenerator.Resolution}")