
Overloaded. Informs about whether a certain attribute has the same value for the complete selection.
[C#]
public bool IsCommonValueSelected(Attribute attribute);
public bool IsCommonValueSelected(ParagraphFormat.Attribute attribute);
public bool IsCommonValueSelected(ListFormat.Attribute attribute);
public bool IsCommonValueSelected(SectionFormat.Attribute attribute);
public bool IsCommonValueSelected(PageMargins.Attribute attribute);
public bool IsCommonValueSelected(PageSize.Attribute attribute);
public bool IsCommonValueSelected(PageBorder.Attribute attribute);
[Visual Basic]
Public Function IsCommonValueSelected(ByVal attribute As Attribute) As Boolean
Public Function IsCommonValueSelected(ByVal attribute As ParagraphFormat.Attribute) As Boolean
Public Function IsCommonValueSelected(ByVal attribute As ListFormat.Attribute) As Boolean
Public Function IsCommonValueSelected(ByVal attribute As SectionFormat.Attribute) As Boolean
Public Function IsCommonValueSelected(ByVal attribute As PageMargins.Attribute) As Boolean
Public Function IsCommonValueSelected(ByVal attribute As PageSize.Attribute) As Boolean
Public Function IsCommonValueSelected(ByVal attribute As PageBorder.Attribute) As Boolean
| Parameter | Description | |
| attribute | Specifies a possible formatting attribute. It can be a value from the Selection.Attribute, ParagraphFormat.Attribute, ListFormat.Attribute, SectionFormat.Attribute, PageMargins.Attribute, PageSize.Attribute or PageBorder.Attribute enumeration. |
The return value is true if the complete selection is formatted with the same value of the specified attribute. Otherwise it is false.