JCL Help:TJclBitmap32.TextOut@Integer@Integer@TRect@string

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Writes a string on the canvas, starting at the point (X,Y).


Pascal

 public procedure TextOut(X: Integer; Y: Integer; const Text: string); overload;
public procedure TextOut(X: Integer; Y: Integer; const ClipRect: TRect; const Text: string); overload;
public procedure TextOut(ClipRect: TRect; const Flags: Cardinal; const Text: string); overload;


Description

Use TextOut to write a string onto the bitmap. The string will be written using the current Font.
Use the TextExtent method to determine the space occupied by the text in the image. TextOut does not support transparent text colors. The second version performs clipping of a text to the ClipRect rectangle. The last version provides the most flexible text formatting. See Description: of DrawText function in 'Win32 Developer Reference' help file for information on Flags and their function.


See Also

Font RenderText TextExtent TextHeight TextWidth TRect


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