Activates the drawing so that its contents can be edited. A drawing can only be activated, if the text part that contains the drawing has the input focus.
public bool Activate();
The return value is true, if the drawing could be activated. Otherwise it is false.
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(); // here, the Activate method is used
drawingFrame.ExportCompressionQuality = 100;
drawingFrame.ExportFileName = "";
drawingFrame.ExportFilterIndex = 1;
drawingFrame.ExportResolution = 100;
drawingFrame.SaveMode = TXTextControl.ImageSaveMode.Auto;
textControl1.Drawings.Add(drawingFrame, -1);