Text Attributes (access and modify)

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

The interface IWPAttrInterface is published by property CurrAttr, TextAttr and CurrSelAttr. CurrAttr changes the current writing mode, CurrSelAttr the selected text and TextAttr provides automatically the CurrAttr or CurrSelAttr if text is selected.


IWPCharacterAttr is used to change the appearence of special text objects, such as the field markers.


If you need to modify paragraph attributes, such as indent, tab stops, shading please use the interface IWPParInterface which is provided by Memo.CurrPar.

[text_attributes.htm]    Copyright © 2007 by WPCubed GmbH