ASP Painter
Home
Home
Samples
Samples
Purchase
Purchase
Download
Download
Documentation
Documentation


ASPPainter SetTextLineAlign

SetTextLineAlign Statement:

Align text vertically in a rectangle

Object.SetTextLineAlign align

Parameters:

align-has integer type. Possible values: [0-3]. Align sets align type: 0 - Specifies that alignment is towards the origin of the bounding rectangle. May be used for alignment of characters along the line or for alignment of lines within the rectangle. 1- Specifies that alignment is centered between origin and extent (width) of the formatting rectangle. 2 – Specifies that alignment is to the far extent (right side) of the formatting rectangle

Sample: object.SetTextLineAlign 1

This method sets text align type for the rectangle set with SetFontRectangle method.

See also

ClearFontRectangle, ClearFontStyle, ExistFontGetFontHeight ,SetTextAlign, SetFontAntialias, SetFontBold, SetFontGradient, SetFontItalic, SetFontName ,SetFontOrientation, SetFontRectangle, SetFontRegular ,SetFontSize, SetFontStrikeout ,SetFontUnderline , TextOut

More samples:


Text
Antialias, Exist font, Font, Fonts, Rotate text, Style, Text gradient, Text in rectangle , Text in rectangle 2 



home samples purchase documentation download