Accusoft.PrintPro7.Net
TextWidth(Font,String) Method
See Also  Send Feedback
Accusoft.PrintProSdk Namespace > Draw Class > TextWidth Method : TextWidth(Font,String) Method




font
A System.Drawing.Font to use with the given text.
text
A string which represents the text to get the printed height of.

Glossary Item Box

Returns the width the text would be if output with specified font.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

font
A System.Drawing.Font to use with the given text.
text
A string which represents the text to get the printed height of.

Return Value

A float value which represents the width of the text when printed.

See Also

©2013. Accusoft Corporation. All Rights Reserved.