VpeTextBlockGetRangeHeight

<< Click to Display Table of Contents >>

Navigation:  Text Block Object >

VpeTextBlockGetRangeHeight

Previous pageReturn to chapter overviewNext page

[Not supported by the Community Edition]

Returns the height of a line-range of a Text Block Object, according to the width, contained text and font properties.

VpeCoord VpeTextBlockGetRangeHeight(

VpeHandle hTextBlock,

int nFirstLine,

int nLineCount

)

VpeHandle hTextBlock

handle of the Text Block Object

int nFirstLine

the starting text line index, from which the height is computed.
The first line has the index zero.

int nLineCount

the number of text lines, for which the height is computed

Returns:

The height for a range of lines of a Text Block Object.