InkEdit.SelBold property

Gets or sets a value that specifies whether the font style of the currently selected text in the InkEdit control is bold.

This property is read/write.

Syntax


HRESULT put_SelBold(
  [in]          VARIANT pvarSelBold
);

HRESULT get_SelBold(
  [out, retval] VARIANT *pvarSelBold
);

Property value

A boolean value that indicates if the characters in the selected region are bold or not.

ValueMeaning
NULL

Neither. The selection contains characters that have a mix of bold and non bold styles.

TRUE

All the characters in the selection or character following the insertion point are bold.

FALSE

Default) None of the characters in the selection or character following the insertion point are bold.

 

Remarks

If a selection spans multiple characters with different bold styles, the SelBold property will be NULL.

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

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: