Skip to main content
A newer version of this page is available. .

PdfGraphics.TextOrigin Property

Specifies how to interpret a point passed to one of the PdfGraphics.DrawString overload methods that take a PointF object.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v18.2.Drawing.dll

Declaration

public PdfGraphicsTextOrigin TextOrigin { get; set; }

Property Value

Type Description
PdfGraphicsTextOrigin

A PdfGraphicsTextOrigin enumeration value. The default value is TopLeftCorner.

Available values:

Name Description
TopLeftCorner

The point passed to one the PdfGraphics.DrawString methods that take a PointF object is the top left corner of the text bounding rectangle.

Baseline

The point passed to one of the PdfGraphics.DrawString methods that take a PointF object is on the text baseline.

See Also