ActiveReports 10
MeasureParagraphHeight(String,Single,Font,StringFormat) Method

GrapeCity.ActiveReports.Document.v10 Assembly > GrapeCity.ActiveReports.Document.Section Namespace > Page Class > MeasureParagraphHeight Method : MeasureParagraphHeight(String,Single,Font,StringFormat) Method

Text string to be measured.

Width of the text (in inches).
The font of the text string to be measured.
The format of the text string to be measured.
Measures the height of the specified text in a specified width, font, and format at run time.
Syntax
'Declaration
 
Public Overloads Function MeasureParagraphHeight( _
   ByVal strText As String, _
   ByVal width As Single, _
   ByVal textFont As Font, _
   ByVal strFormat As StringFormat _
) As SizeF
public SizeF MeasureParagraphHeight( 
   string strText,
   float width,
   Font textFont,
   StringFormat strFormat
)

Parameters

strText

Text string to be measured.

width
Width of the text (in inches).
textFont
The font of the text string to be measured.
strFormat
The format of the text string to be measured.
See Also

Reference

Page Class
Page Members
Overload List