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

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.

Glossary Item Box

Measures the height of the specified text in a specified width, font, and format at run time.

Syntax

Visual Basic (Declaration) 
Public Overloads Function MeasureParagraphHeight( _
   ByVal strText As System.String, _
   ByVal width As System.Single, _
   ByVal textFont As Font, _
   ByVal strFormat As StringFormat _
) As SizeF
C# 
public SizeF MeasureParagraphHeight( 
   System.string strText,
   System.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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also