Gets or sets the format used if an image is saved. This is the number of the filter in the string returned through the Image
public int ExportFilterIndex { get; set; }Public Property ExportFilterIndex() As Integer| Member | Description |
|---|---|
| 1 | Windows Bitmap (. |
| 2 | Windows Metafile (. |
| 3 | Portable Network Graphics (. |
| 4 | JPEG File Interchange Format (. |
| 5 | Windows Enhanced Metafile (. |
| 6 | Tagged Image Format (. |
| 7 | Graphics Interchange Format (. |
In this example the 'Export
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; // Here, the 'ExportFilterIndex' is set to 3 (->> 'PNG')
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 ' Here, the 'ExportFilterIndex' is set to 3 (->> 'PNG')
textControl1.Images.Add(myImage, -1)