pdfstringlayouter-j9官方网址
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.