Promotic
WikipediaLinkedInYoutubeTwitterFacebook

textBaseline - property of object CanvasCtx

Description:
Vertical alignment of the text.
Syntax:
textBaseline As String
Calling:
ctx.textBaseline = "middle";
Values:
alphabetic (default) - The lower edge of the text (A, a ..) is touching the imagined line
top - The upper edge of the text (A, B ..) is under the imagined line
hanging - The upper edge of the text (a, c ..) is under the imagined line
middle - The imagined line goes through the center of the text block
ideographic - Ideographic text display.
bottom - The lower edge of the text (g, j, y ...) is touching the imagined line
Note:
Property access for read and write. This property is also functional for Web panels.
See also:
PROMOTIC 8.3.21 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice