Enum IGDIPlus.TGPStringAlignment
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Contents |
Syntax
Delphi:
type TGPStringAlignment = (StringAlignmentNear, StringAlignmentCenter, StringAlignmentFar);
C++ Builder:
enum TGPStringAlignment {StringAlignmentNear, StringAlignmentCenter, StringAlignmentFar};
Visual C++ (MFC):
enum CTGPStringAlignment {StringAlignmentNear, StringAlignmentCenter, StringAlignmentFar};
Summary
Specifies how a string is aligned in reference to the bounding rectangle.
Description
Defines enumeration that specifies how a string is aligned in reference to the bounding rectangle. A bounding rectangle is used to define the area in which the text displays.
Values
StringAlignmentNear | 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. For a right to left bounding rectangle (StringFormatFlagsDirectionRightToLeft), the origin is at the upper right. |
StringAlignmentCenter | Specifies that alignment is centered between origin and extent (width) of the formatting rectangle. |
StringAlignmentFar | Specifies that alignment is to the far extent (right side) of the formatting rectangle. |