FlexReport for WinForms
DrawOrMeasure メソッド (C1RichText)


C1.Report アセンブリ > C1.Document.Util 名前空間 > C1RichText クラス : DrawOrMeasure メソッド
Graphics object on which text will be drawn. Can be null if only measuring should be performing.
Width is twips
Height is twips
Index of first char of text's range.
Length of text range, if this parameter is 0 or less than zero then all text from startIndex will be calculated.
Indicates whether text should be only measured or not.
Draws or measures the RTF text.
シンタックス
'宣言
 
Public Function DrawOrMeasure( _
   ByVal drawGraphics As System.Object, _
   ByVal width As System.Double, _
   ByVal height As System.Double, _
   ByVal startIndex As System.Integer, _
   ByVal length As System.Integer, _
   ByVal measureOnly As System.Boolean _
) As C1RichText.MeasureInfo
'使用法
 
Dim instance As C1RichText
Dim drawGraphics As System.Object
Dim width As System.Double
Dim height As System.Double
Dim startIndex As System.Integer
Dim length As System.Integer
Dim measureOnly As System.Boolean
Dim value As C1RichText.MeasureInfo
 
value = instance.DrawOrMeasure(drawGraphics, width, height, startIndex, length, measureOnly)
public C1RichText.MeasureInfo DrawOrMeasure( 
   System.object drawGraphics,
   System.double width,
   System.double height,
   System.int startIndex,
   System.int length,
   System.bool measureOnly
)

パラメータ

drawGraphics
Graphics object on which text will be drawn. Can be null if only measuring should be performing.
width
Width is twips
height
Height is twips
startIndex
Index of first char of text's range.
length
Length of text range, if this parameter is 0 or less than zero then all text from startIndex will be calculated.
measureOnly
Indicates whether text should be only measured or not.

戻り値の型

Returns the C1RichTextMeasureInfo which contains the measured info.
参照

参照

C1RichText クラス
C1RichText メンバ