TextRangeProviderWrapperGetAttributeValue - метод
Retrieves the value of the specified attribute across the text range.
Пространство имён: Tessa.UI.Automation.HelpersСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.1.6+4a6cbd59b2fb8843c9938ab551fae92e13c8542c
public Object GetAttributeValue(
int attribute
)
Public Function GetAttributeValue (
attribute As Integer
) As Object
public:
virtual Object^ GetAttributeValue(
int attribute
) sealed
abstract GetAttributeValue :
attribute : int -> Object
override GetAttributeValue :
attribute : int -> Object
- attribute Int32
- The text attribute.
ObjectRetrieves an object representing the value of the specified attribute. For example,
GetAttributeValue(TextPattern.FontNameAttribute) would return a string that represents the font name of the text range while
GetAttributeValue(TextPattern.IsItalicAttribute) would return a value of type
Boolean.
Returns
MixedAttributeValue if the value of the specified attribute varies over the text range.
Returns
NotSupported if the specified attribute is not supported by the provider or the control.
ITextRangeProviderGetAttributeValue(Int32)