Gets or sets the format used, if a drawing's bitmap image is exported. This is the number of the filter in the string returned through the Image
public int ExportFilterIndex { get; set; }
The following example shows how to use the TXText
TXTextControl.Drawing.TXDrawingControl myDrawingControl = new TXTextControl.Drawing.TXDrawingControl();
TXTextControl.DataVisualization.DrawingFrame drawingFrame = new TXTextControl.DataVisualization.DrawingFrame(myDrawingControl);
drawingFrame.Activate();
drawingFrame.ExportCompressionQuality = 100;
drawingFrame.ExportFileName = "";
drawingFrame.ExportFilterIndex = 0; // here, the ExportFilterIndex is set
drawingFrame.ExportResolution = 100;
drawingFrame.SaveMode = TXTextControl.ImageSaveMode.Auto;
textControl1.Drawings.Add(drawingFrame, -1);