Informs about whether a certain attribute has the same value for the complete selection.
public bool IsCommonValueSelected(Selection.Attribute attribute);
Public Function IsCommonValueSelected(ByVal attribute As Selection.Attribute) As Boolean
public bool IsCommonValueSelected(ParagraphFormat.Attribute attribute);
Public Function IsCommonValueSelected(ByVal attribute As ParagraphFormat.Attribute) As Boolean
public bool IsCommonValueSelected(ListFormat.Attribute attribute);
Public Function IsCommonValueSelected(ByVal attribute As ListFormat.Attribute) As Boolean
public bool IsCommonValueSelected(SectionFormat.Attribute attribute);
Public Function IsCommonValueSelected(ByVal attribute As SectionFormat.Attribute) As Boolean
public bool IsCommonValueSelected(PageMargins.Attribute attribute);
Public Function IsCommonValueSelected(ByVal attribute As PageMargins.Attribute) As Boolean
public bool IsCommonValueSelected(PageSize.Attribute attribute);
Public Function IsCommonValueSelected(ByVal attribute As PageSize.Attribute) As Boolean
public bool IsCommonValueSelected(PageBorder.Attribute attribute);
Public Function IsCommonValueSelected(ByVal attribute As PageBorder.Attribute) As Boolean
Parameter | Description |
---|---|
attribute | Specifies a possible value from the enumeration. |
The return value is true if the complete selection is formatted with the same value of the specified attribute. Otherwise it is false.