InkEdit.SelFontName property

Gets or sets the font name of the selected text within the InkEdit control (run time only).

This property is read/write.

Syntax


HRESULT put_SelFontName(
  [in]          VARIANT pvarSelFontName
);

HRESULT get_SelFontName(
  [out, retval] VARIANT *pvarSelFontName
);

Property value

A string indicating the font name of the characters in the selected region.

Remarks

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

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

Requirements

Minimum supported client

Windows XP Tablet PC Edition [desktop apps only]

Minimum supported server

None supported

Header

Inked.h (also requires inked_i.c)

Library

InkEd.dll

See also

InkEdit

 

 

Show: