指定された RTF テキストをメタファイル内に描画して、メタファイルのデータを返します。 そのため、 はツイップ単位で指定する必要があります。
シンタックス
'宣言
Public Shared Function GetRtfMetafileBytes( _
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.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 ,
System.string ,
System.int ,
System.int ,
Rect ,
System.bool
)
パラメータ
- measurmentGraphics
- rtf
- RTF テキスト。
- firstCharIndex
- 最初の文字のインデックス。
- length
- 文字総数。
- bounds
- 四角形範囲。
- detectUrls
- C1RichText が URL(Uniform Resource Locator)を自動的に書式設定するかどうかを示す値。
参照