GetRangeHeight

<< Click to Display Table of Contents >>

Navigation:  Text Block Object >

GetRangeHeight

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.

method VpeCoord TextBlock.GetRangeHeight(

int nFirstLine,

int nLineCount,

)

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.