CurrParAttr property

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

Applies to



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 use either CharAttr or SetCharAttr.

This interfaces is also provided as IWPMemo.CurrParAttr.


Example: The current paragraph should be bold and use the font "Times New Roman".

IWPAttrInterface parattr = wpdllInt1.CurrParAttr;


parattr.SetFontface("Times New Roman");

[idh_wpdllint_currparattr.htm]    Copyright © 2007 by WPCubed GmbH