TX Text Control .NET Server

IsCommonValueSelected Method

Method|Introduced in 23.0
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.Core.SDK as TXDrawing.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDrawing.dll

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);

Parameters

ParameterDescription
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.");
}