JVCL Help:TJvHTMLElement.Width

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

Search in JVCL Help

 
Search in all projects
 

Summary

Width of the rendered HTML markup.


Pascal

 propertyWidth: Integer;


Description

Width is an Integer property that represents the width of the Text property when rendered using the Canvas for an HTML-enabled control. Width is updated when the dimensions for the HTML tag or element are calculated using methods in TJvMarkupLabel or TJvMarkupViewer.
The value in Width is based on text metrics derived using the values in FontName, FontSize, FontStyle, and FontColor.
Use Height to determine the height of Text rendered using the current Text metrics.
Use Ascent to determine the units above the base line for values rendered using the current Text metrics.


See Also

TJvHTMLElement.Height, TJvHTMLElement.FontName, TJvHTMLElement.FontColor, TJvHTMLElement.FontSize, TJvHTMLElement.FontStyle, 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