IWPParInterface.GetCharSizeAt

[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 size at a given position. If the character does not define a font size, the default font size 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_getcharsizeat.htm]    Copyright © 2007 by WPCubed GmbH