FormatShapesDialog Method
- Namespace
TXTextControl.WPF. Drawing
- Package
TXTextControl.asTextControl. WPF. SDK TXDrawing.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Opens a dialog to format selected shapes.
Syntax
FormatShapesDialog()
Opens a dialog to format selected shapes.
public bool? FormatShapesDialog();Public Function FormatShapesDialog() As Boolean?FormatShapesDialog(int)
public bool? FormatShapesDialog(int activeTab);Public Function FormatShapesDialog(activeTab As Integer) As Boolean?Return Value
The return value is true if the OK button was pressed, false if the dialog was cancelled and Null if the dialog was not opened because no shape to format was selected.
Examples
The following example opens the format shapes dialog for the txdrawing control.
var result = tXDrawingControl.FormatShapesDialog(10);
Console.WriteLine($"Format Shapes Dialog result: {result}");Dim result = tXDrawingControl.FormatShapesDialog(10)
Console.WriteLine($"Format Shapes Dialog result: {result}")