Accusoft.PrintPro8.Net
TextHeight(Font,String) Method




A System.Drawing.Font to use.
A string which represents the text to get the printed height of.
Returns the height the text would be if the output has a specified font.
Syntax
'Declaration
 
Public Overloads Function TextHeight( _
   ByVal font As Font, _
   ByVal text As String _
) As Single
'Usage
 
Dim instance As Draw
Dim font As Font
Dim text As String
Dim value As Single
 
value = instance.TextHeight(font, text)
public float TextHeight( 
   Font font,
   string text
)
public: float TextHeight( 
   Font* font,
   string* text
) 
public:
float TextHeight( 
   Font^ font,
   String^ text
) 

Parameters

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

Return Value

A float value which represents the height of the text when printed.
See Also

Reference

Draw Class
Draw Members
Overload List

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback