Gets or sets the maximum resolution in dots per inch used if this image is saved. If the image's resolution is larger than this property's value, it is reduced; otherwise, it is not changed. If this property's value is zero, which is the default value, Text Control uses the maximum resolution set with the SaveSettings.ImageMaxResolution property or the image's default resolution.

Introduced: 11.0.

Syntax

public int ExportMaxResolution { get; set; }
Public Property ExportMaxResolution() As Integer

Examples

In this example the 'ExportMaxResolution' property is set to '0', which is also the default value. This means that Text Control uses the maximum resolution.

TXTextControl.Image myImage = new TXTextControl.Image();
myImage.Sizeable = false;
myImage.HorizontalScaling = 75;
myImage.VerticalScaling = 75;
myImage.ExportCompressionQuality = 100;
myImage.ExportFileName = "MyFileName.PNG";
myImage.ExportFilterIndex = 3;
myImage.ExportMaxResolution = 0; // Here, the 'ExportMaxResolution' property is set

textControl1.Images.Add(myImage, -1);
Dim myImage As TXTextControl.Image = New TXTextControl.Image()

myImage.Sizeable = False
myImage.HorizontalScaling = 75
myImage.VerticalScaling = 75
myImage.ExportCompressionQuality = 100
myImage.ExportFileName = "MyFileName.PNG"
myImage.ExportFilterIndex = 3
myImage.ExportMaxResolution = 0 ' Here, the 'ExportMaxResolution' property is set

textControl1.Images.Add(myImage, -1)