'Declaration Public Overloads Sub MeasureString( _
ByVal textString to measure.As System.String, _
ByVal fontPdfFont that defines the text format of the string.As Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont, _
ByVal heightText string height.As Single, _
ByRef widthText string width.As Single, _
ByRef xText string X offset.As Single, _
ByRef yText string Y offset.As Single, _
ByRef fontSizeFont size.As Single _
)
public void MeasureString(
System.String text,
Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont font,
float height,
out float width,
out float x,
out float y,
out float fontSize
)
Parameters
- text
- String to measure.
- font
- PdfFont that defines the text format of the string.
- height
- Text string height.
- width
- Text string width.
- x
- Text string X offset.
- y
- Text string Y offset.
- fontSize
- Font size.