| TextDocumentGetEffectColor Method |
(TOM 2 only)
Retrieves the color used for special text attributes.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public Color GetEffectColor(
int index
)
Public Function GetEffectColor (
index As Integer
) As Color
public:
Color GetEffectColor(
int index
)
Parameters
- index
- Type: SystemInt32
The index of the color to retrieve.
Return Value
Type:
ColorThe color that corresponds to the specified index.
Exceptions Exception | Condition |
---|
NotSupportedException |
The underlying COM object does not implement the ITextDocument2 interface.
|
Remarks See Also