指定された RTF テキストをメタファイル内に描画して、そのメタファイルを返します。
シンタックス
'宣言
Public Shared Function GetRtfMetafile( _
ByVal As System.Drawing.Graphics, _
ByVal As System.String, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As Rect, _
ByVal As System.Boolean _
) As System.Drawing.Imaging.Metafile
'使用法
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.Drawing.Imaging.Metafile
value = C1RichText.GetRtfMetafile(measurmentGraphics, rtf, firstCharIndex, length, bounds, detectUrls)
public static System.Drawing.Imaging.Metafile GetRtfMetafile(
System.Drawing.Graphics ,
System.string ,
System.int ,
System.int ,
Rect ,
System.bool
)
パラメータ
- measurmentGraphics
- rtf
- RTF テキスト。
- firstCharIndex
- 最初の文字のインデックス。
- length
- 文字総数。
- bounds
- 四角形範囲。
- detectUrls
- C1RichText が URL(Uniform Resource Locator)を自動的に書式設定するかどうかを示す値。
参照