Layouts the text.
Namespace: Spire.Pdf.GraphicsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public PdfStringLayoutResult Layout( string text, PdfFontBase font, PdfStringFormat format, SizeF size )
Public Function Layout ( text As String, font As PdfFontBase, format As PdfStringFormat, size As SizeF ) As PdfStringLayoutResult
public: PdfStringLayoutResult^ Layout( String^ text, PdfFontBase^ font, PdfStringFormat^ format, SizeF size )
member Layout : text : string * font : PdfFontBase * format : PdfStringFormat * size : SizeF -> PdfStringLayoutResult
Parameters
- text
- String
String text.
- font
- PdfFontBase
Font for the text.
- format
- PdfStringFormat
String format.
- size
- SizeF
Bounds of the text.
Return Value
PdfStringLayoutResultLayout result.