com.spire.pdf.graphics
Class PdfStringLayouter
java.lang.Object
com.spire.pdf.graphics.PdfStringLayouter
public class PdfStringLayouter
- extends java.lang.Object
Class lay outing the text.
PdfStringLayouter
public PdfStringLayouter()
- Initializes a new instance of the class.
layout
public PdfStringLayoutResult layout(java.lang.String text,
PdfFontBase font,
PdfStringFormat format,
java.awt.geom.Dimension2D size)
- Layouts the text.
- Parameters:
text
- String text.font
- Font for the text.format
- String format.size
- Bounds of the text.
- Returns:
- Layout result.