Class PdfStringLayouter
Class lay outing the text.
Inheritance
System.Object
PdfStringLayouter
Namespace: Syncfusion.Pdf.Graphics
Assembly: Syncfusion.Pdf.Portable.dll
Syntax
public class PdfStringLayouter : Object
Constructors
PdfStringLayouter()
Initializes a new instance of the PdfStringLayouter class.
Declaration
public PdfStringLayouter()
Methods
Layout(String, PdfFont, PdfStringFormat, SizeF)
Layouts the text.
Declaration
public PdfStringLayoutResult Layout(string text, PdfFont font, PdfStringFormat format, SizeF size)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | text | String text. |
| PdfFont | font | Font for the text. |
| PdfStringFormat | format | String format. |
| SizeF | size | Bounds of the text. |
Returns
| Type | Description |
|---|---|
| PdfStringLayoutResult | Layout result. |