| TextDocumentSetEffectColor Method |
(TOM 2 only)
Specifies the color to use for special text attributes.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public void SetEffectColor(
int index,
Color value
)
Public Sub SetEffectColor (
index As Integer,
value As Color
)
public:
void SetEffectColor(
int index,
Color value
)
Parameters
- index
- Type: SystemInt32
The index of the color to retrieve. - value
- Type: System.DrawingColor
The new color for the specified index.
Exceptions Exception | Condition |
---|
NotSupportedException |
The underlying COM object does not implement the ITextDocument2 interface.
|
See Also