WPAT_codes

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

TextDynamic stores paragraph and paragraph style attribute values (such as indents) in arrays together with an id. This makes it possible to not only store the value of a property but also to know that the propetrty is not defined at all - but does not use memory for undefined properties.

The IDs are specified as WPAT_ constants. The first 16 are used for character attributes (and also used by the CharAttr records). The names of the procedures which work with this kind of attributes start with "A".

 

"WPAT" codes are used by low level methods to set and retrieve paragraph and style attributes.

 

You can use this properties whenever you manipulate paragraph, table cell or table row properties directy.

 

The Attributes do only use 3 bytes, so the maximum value is $8FFFFF.

 

The .NET assembly defines the enum WPAT, so you need to write (int)WPAT.CharFontSize to set the size of the text in pt*100.

 

IWPParInterface.ParAAddBits

IWPParInterface.ParAClear

IWPParInterface.ParADel

IWPParInterface.ParADelBits

IWPParInterface.ParAGet

IWPParInterface.ParAInc

IWPParInterface.ParASet

IWPParInterface.ParStrCommand

 

 


[idh_cat_wpat_properties.htm]    Copyright © 2007 by WPCubed GmbH