JVCL Help:JvXPRenderText

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Draws text.

run\JvXPCoreUtils.pas


Pascal

 run\JvXPCoreUtils.pas
 procedureJvXPRenderText(constAParent: TControl; constACanvas: TCanvas; ACaption: TCaption; constAFont: TFont; constAEnabled: Boolean; constAShowAccelChar: Boolean; varARect: TRect; AFlags: Integer);


Parameters

Parameters Description
const AParent: TControl The parent of the control to draw.
const ACanvas: TCanvas The canvas to draw on.
ACaption: TCaption The text to draw.
const AFont: TFont The font to use.
const AEnabled: Boolean Draw text enabled or disabled.
const AShowAccelChar: Boolean Draw accelerators or not.
var ARect: TRect The rect to draw in or adjust according to the parameters.
AFlags: Integer Additional flags to use. These are the same flags as used by DrawText. Specifically, if you include DT_CALCRECT in flags, the ARect is adjusted but nothing is drawn.

run\JvXPCoreUtils.pas


Description

Use JvXPRenderText to either calculate or draw text.

run\JvXPCoreUtils.pas


About

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