IsCommonValueSelected Method
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. WinForms. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
Description
Informs about whether an attribute from the Drawing.Selection.Attribute enumeration has the same value for the complete shapes selection.
Syntax
public bool IsCommonValueSelected(Selection.Attribute attribute);Public Function IsCommonValueSelected(attribute As Selection.Attribute) As BooleanParameters
| Parameter | Description |
|---|---|
| attribute | Specifies a possible value from the Drawing.Selection.Attribute enumeration. |
Examples
The following example checks whether common value selected applies to the selection.
if (selection.IsCommonValueSelected(TXTextControl.Drawing.Selection.Attribute.Angle))
{
Console.WriteLine("Is Common Value Selected completed successfully.");
}If selection.IsCommonValueSelected(TXTextControl.Drawing.Selection.Attribute.Angle) Then
Console.WriteLine("Is Common Value Selected completed successfully.")
End If