PdfBarGraphicsMeasureString Method |
Measures the string.
Namespace:
Atalasoft.PdfDoc.BarcodeWriting
Assembly:
Atalasoft.dotImage.PdfDoc.BarcodeWriting (in Atalasoft.dotImage.PdfDoc.BarcodeWriting.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public SizeF MeasureString(
string text,
Font font
)
Public Function MeasureString (
text As String,
font As Font
) As SizeF
Parameters
- text
- Type: SystemString
The text to measure. - font
- Type: System.DrawingFont
The font used.
Return Value
Type:
SizeFReturns the space needed to render the text with the font
Implements
IBarGraphicsMeasureString(String, Font)See Also