InkEdit.SelColor property

Gets or sets the text color of the current text selection or insertion point (run time only).

This property is read/write.

Syntax


HRESULT put_SelColor(
  [in]          VARIANT pvarSelColor
);

HRESULT get_SelColor(
  [out, retval] VARIANT *pvarSelColor
);

Property value

A 32-bit integer value used to represent a RGB color.

Remarks

If a selection spans multiple characters with different colors, the SelColor property will be NULL.

If there is no text selected in the InkEdit control, setting this property determines the color of all new text entered at the current insertion point.

See also

InkEdit

 

 

Show: