JVCL Help:ItemHtDraw
JVCL Help: ItemHTDraw function
Search in JVCL Help
Search in all projectsSummary
Write here a summary (1 line)
Pascal
run\JvHtControls.pas
functionItemHTDraw(Canvas: TCanvas; Rect: TRect; constState: TOwnerDrawState; constText: string; Scale: Integer = 100): string;
Parameters
Parameters | Description |
Canvas: TCanvas | Canvas used to render the HTML content. |
Rect: TRect | Rectangle to use for rendering HTML content. |
const State: TOwnerDrawState | Draw state values for the rendering operation. |
const Text: string | HTML tags to render. |
Scale: Integer = 100 | Scaling factor for the render. Default value is 100. |
Description
ItemHTDraw is a procedure used to render HTML-tagged values using a TCanvas drawing area. Parameters for the procedure pro ide the drawing canvas, clipping rectangle, and state information needed to draw the specified HTML-tagged values.
Scale indicates the scaling (or zoom) factor for the rendered values. The default value is 100. Use scale to control rendering of relative fonts sizes.
ItemHTDraw calls the HTMLDrawText procedure to perform the low-level operations required for the procedure.
Use ItemHTDrawEx to render HTML-tagged values that include links (HTML Anchors) and mouse position information.
See Also
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