Help Center
Help CenterAfxNovaCGdiPlus

CGpBase.StringAlignmentmethod

Specifies how a string is aligned in reference to the bounding rectangle.

GraphicsmethodCGdiPlus.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Description

The StringAlignment enumeration 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.

Example

StringAlignmentNear = 0 StringAlignmentCenter = 1 StringAlignmentFar = 2

Reference

  • Include file CGdiPlus.inc
  • Documented in Graphics/GdiPlus Classes/CGdiPlus.md
  • Topic: CGdiPlus