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

strText
The text string to measure.
font
The font of the text.

Glossary Item Box

Measures the text string.

Syntax

Visual Basic (Declaration) 
Public Overloads Function MeasureText( _
   ByVal strText As System.String, _
   ByVal font As Font _
) As SizeF
C# 
public SizeF MeasureText( 
   System.string strText,
   Font font
)

Parameters

strText
The text string to measure.
font
The font of the text.

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