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