JVCL Help:TJvHTMLElement.Breakup
JVCL Help: TJvHTMLElement.Breakup Method
Search in JVCL Help
Search in all projectsSummary
Updates the HTML element to match the drawing area for an HTML-enabled control.
Pascal
procedureBreakup(ACanvas: TCanvas; Available: Integer);
Parameters
Parameters | Description |
ACanvas: TCanvas | Drawing canvas for an HTML-enabled control. |
Available: Integer | Remaining portion of the drawing area for the current line. |
Description
Breakup is a method used to update an HTML element when rending the markup for an HTML-enabled control. Breakup determines if the Text for the HTML element will fit in the drawing area represented by the ACanvas and Available arguments.
ACanvas is the Canvas used to render the HTML-enabled control.
Available indicates the remaining drawing area left on the current line of the control canvas.
Values in the FontName, FontSize, FontStyle, and FontColor properties are assigned to ACanvas and used to get the text metrics for the control canvas.
The Width for the value in Text is determined using the text metrics for the control canvas. When the Width exceeds the value in Available, values in SolText and EolText are derived that allow rendering in the visible bounds for the control canvas.
See Also
TJvHTMLElement.FontColor, TJvHTMLElement.FontName, TJvHTMLElement.FontSize, TJvHTMLElement.FontStyle, TJvHTMLElement.Text, TJvHTMLElement.SolText, TJvHTMLElement.EolText, TJvMarkupLabel, TJvMarkupViewer
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