Click or drag to resize
TextDocumentSetEffectColor Method
(TOM 2 only) Specifies the color to use for special text attributes.

Namespace: TextObjectModel
Assembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax
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
ExceptionCondition
NotSupportedException The underlying COM object does not implement the ITextDocument2 interface.
See Also