Skip to main content

PdfGraphics.MeasureString Method

Name Parameters Description
MeasureString(String, DXFont, PdfStringFormat, Single, Single) text, font, format, dpiX, dpiY Measures the specified string when drawn with the specified font and format parameters, horizontal and vertical resolutions.
MeasureString(String, DXFont, PdfStringFormat) text, font, format Measures the specified string when drawn with the specified font and text formatting parameters.
MeasureString(String, DXFont, SizeF, PdfStringFormat, Single, Single, out Int32, out Int32) text, font, layoutSize, format, dpiX, dpiY, charactersFitted, linesFilled Measures a string when it is drawn with the specific font and text formatting settings.
MeasureString(String, DXFont, SizeF, PdfStringFormat, Single, Single) text, font, layoutSize, format, dpiX, dpiY Measures the specified string when drawn with specified font and text formatting parameters. Allows you to specify text layout size, and horizontal and vertical resolutions.
MeasureString(String, DXFont, SizeF, PdfStringFormat) text, font, layoutSize, format Measures the specified string when drawn with the specified font, text layout size, and format.
MeasureString(String, DXFont, SizeF) text, font, layoutSize Measures the specified string when drawn with the specified font settings.
MeasureString(String, DXFont) text, font Measures the specified string when drawn with specified font parameters.
MeasureString(String, Font, PdfStringFormat, Single, Single) text, font, format, dpiX, dpiY Measures the specified string when drawn with the specified font and format parameters, horizontal and vertical resolutions.
MeasureString(String, Font, PdfStringFormat) text, font, format Measures the specified string when drawn with the specified font and text formatting parameters.
MeasureString(String, Font, SizeF, PdfStringFormat, Single, Single, out Int32, out Int32) text, font, layoutSize, format, dpiX, dpiY, charactersFitted, linesFilled Measures a string when it is drawn with the specific font and text formatting settings.
MeasureString(String, Font, SizeF, PdfStringFormat, Single, Single) text, font, layoutSize, format, dpiX, dpiY Measures the specified string when drawn with specified font and text formatting parameters. Allows you to specify text layout size, and horizontal and vertical resolutions.
MeasureString(String, Font, SizeF, PdfStringFormat) text, font, layoutSize, format Measures the specified string when drawn with the specified font, text layout size, and format.
MeasureString(String, Font, SizeF) text, font, layoutSize Measures the specified string when drawn with the specified font settings.
MeasureString(String, Font) text, font Measures the specified string when drawn with specified font parameters.