IWPParInterface.GetCharFontAt

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

This function can be used to read character attributes of text within the paragraph. We added this method as easier alternative to the use of CharAttr.

 

The method GetCharFontAt reads the font name at a given position. If the character does not define a font name, the default font name is returned.

 

Note: Using Command #7 in ParCommand there is an optimized find routine available.

It makes it possible to search a paragraph for all occurrences of a certain attribute.

 


[iwpparinterface_getcharfontat.htm]    Copyright © 2007 by WPCubed GmbH