FlexReport for WinForms
GetRtfMetafileBytes(Graphics,String,Int32,Int32,Rect,Boolean) メソッド


C1.Win.Document.10 アセンブリ > C1.Win.Document.Util 名前空間 > C1RichText クラス : GetRtfMetafileBytes(Graphics,String,Int32,Int32,Rect,Boolean) メソッド
RTF テキスト。
最初の文字のインデックス。
文字総数。
四角形範囲。
C1RichText が URL(Uniform Resource Locator)を自動的に書式設定するかどうかを示す値。
指定された RTF テキストをメタファイル内に描画して、メタファイルのデータを返します。 そのため、bounds はツイップ単位で指定する必要があります。
シンタックス
'宣言
 
Public Shared Function GetRtfMetafileBytes( _
   ByVal measurmentGraphics As System.Drawing.Graphics, _
   ByVal rtf As System.String, _
   ByVal firstCharIndex As System.Integer, _
   ByVal length As System.Integer, _
   ByVal bounds As Rect, _
   ByVal detectUrls As System.Boolean _
) As System.Byte()
'使用法
 
Dim measurmentGraphics As System.Drawing.Graphics
Dim rtf As System.String
Dim firstCharIndex As System.Integer
Dim length As System.Integer
Dim bounds As Rect
Dim detectUrls As System.Boolean
Dim value() As System.Byte
 
value = C1RichText.GetRtfMetafileBytes(measurmentGraphics, rtf, firstCharIndex, length, bounds, detectUrls)
public static System.byte[] GetRtfMetafileBytes( 
   System.Drawing.Graphics measurmentGraphics,
   System.string rtf,
   System.int firstCharIndex,
   System.int length,
   Rect bounds,
   System.bool detectUrls
)

パラメータ

measurmentGraphics
rtf
RTF テキスト。
firstCharIndex
最初の文字のインデックス。
length
文字総数。
bounds
四角形範囲。
detectUrls
C1RichText が URL(Uniform Resource Locator)を自動的に書式設定するかどうかを示す値。
参照

参照

C1RichText クラス
C1RichText メンバ