PdfPageRendererTextSurface Property |
Gets or sets the text surface for rendering text content on a PDF page.
Namespace:
Atalasoft.PdfDoc.Generating.Rendering
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public PdfTextSurface TextSurface { get; protected set; }
Public Property TextSurface As PdfTextSurface
Get
Protected Set
Property Value
Type:
PdfTextSurface
The text surface.
Examples public void HelloWorld(PdfPageRenderer renderer)
{
writer.TextSurface.Begin();
writer.TextSurface.SetFont("courier", 12.0);
writer.TextSurface.WriteTextLine("hello, world!", new PdfPoint(36, 288));
writer.TextSurface.End();
}
See Also