See Also

Page Class  | Page Members  | Overload List

Language

Visual Basic

C#

Show All

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 Languages ActiveReports.Viewer Send feedback to Data Dynamics

MeasureParagraphHeight(String,Single,Font,StringFormat) Method

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

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

Page Class  | Page Members  | Overload List

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.