JVCL Help:TJvHTMLElement.Ascent

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

Search in JVCL Help

 
Search in all projects
 

Summary

Units above the baseline for the rendered HTML markup.


Pascal

 propertyAscent: Integer;


Description

Ascent is an Integer property that represents the number of units above the baseline for Text rendered using the Canvas for an HTML-enabled control. Ascent is updated when the dimensions for the HTML tag or element are calculated using methods in TJvMarkupLabel or TJvMarkupViewer.
Ascent 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 Width to determine the Width of Text rendered using the current Text metrics.


See Also

TJvHTMLElement.Height, TJvHTMLElement.Width, 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