JCL Help:TJclBitmap32.TextHeight

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the height, in pixels, of a string rendered in the current font.


Pascal

 public function TextHeight(const Text: string): Integer;


Description

Use TextHeight to determine the height a string will occupy in the image. Other elements in the image such as lines, boxes, or additional lines of text can be positioned to accommodate the height of the text.
TextHeight returns the same value as TextExtent(Text).cy.


See Also

Font RenderText TextExtent TextOut TextWidth


About

Donator

Alex Denissov


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page