<< Click to Display Table of Contents >> VpeTextBlockSetWidth |
[Not supported by the Community Edition]
Assigns the given width to a Text Block Object. The text within the Text Block Object is formatted accordingly to the specified width, and properties like TextBlock.Height are updated. When you call WriteTextBlock(), the text will be inserted into a document using the width you have specified with this property.
void VpeTextBlockSetWidth(
VpeHandle hTextBlock,
VpeCoord width,
)
VpeHandle hTextBlock
handle of the Text Block Object
VpeCoord width
the width of the Text Block Object
Remarks:
When a new width is specified, VPE re-computes the internal layout of a Text Block Object.