CurrParAttr Property

[Top]  [Chapter]  [Previous]  [Next]


IWPAttrInterface CurrParAttr;


This is the interface to manipulate the text attributes of the text in the current paragraph (the paragraph the cursor is located within).


You can use this interface to change the font of all characters in the paragraph. If you only need to change the attribute of certain characters in the paragraph use either CharAttr or SetCharAttr.


Example: The current paragraph should be bold and use the font "Verdana" with 10 pt.

IWPAttrInterface parattr = Memo.CurrParAttr;





Do not use this interface to modify the attributes of the paragraph itself, such as the indent or also the default font for a paragraph.

[idh_iwpmemo_currparattr.htm]    Copyright © 2007 by WPCubed GmbH