'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, _
ByVal maxWidthMaximum width of text string.As Single, _
ByVal widthText string width.As Boolean, _
ByVal fontSizeFont size.As Boolean, _
ByVal wordWrapA value indicating whether to enable automatic word wrap to the beginning of the next line when necessary.As Single, _
ByRef lineSplitIfOverflowA value indicating whether to enable automatic line split to the beginning of the next line when necessary.As Single, _
ByRef lineSpacingLine spacing.As Single _
)
public void MeasureString(
System.String text,
Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont font,
float height,
float maxWidth,
bool width,
bool fontSize,
float wordWrap,
out float lineSplitIfOverflow,
out float lineSpacing
)
Parameters
- text
- String to measure.
- font
- PdfFont that defines the text format of the string.
- height
- Text string height.
- maxWidth
- Maximum width of text string.
- width
- Text string width.
- fontSize
- Font size.
- wordWrap
- A value indicating whether to enable automatic word wrap to the beginning of the next line when necessary.
- lineSplitIfOverflow
- A value indicating whether to enable automatic line split to the beginning of the next line when necessary.
- lineSpacing
- Line spacing.