Measures the height of the specified text in a specified width at run time.
Syntax
Visual Basic (Declaration) | |
---|
Overloads Public Function MeasureParagraphHeight( _
ByVal strText As String, _
ByVal width As Single _
) As SizeF |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Page
Dim strText As String
Dim width As Single
Dim value As SizeF
value = instance.MeasureParagraphHeight(strText, width)
|
C# | |
---|
public SizeF MeasureParagraphHeight(
string strText,
float width
) |
Parameters
- strText
Text string to be measured.
- width
- Width of the text (in inches).
See Also