[]
Draws specified RTF text into metafile and returns metafile's data,
bounds should be specified in twips.
public static byte[] GetRtfMetafileBytes(Graphics measurmentGraphics, string rtf, int firstCharIndex, int length, Rect bounds, bool detectUrls)
Public Shared Function GetRtfMetafileBytes(measurmentGraphics As Graphics, rtf As String, firstCharIndex As Integer, length As Integer, bounds As Rect, detectUrls As Boolean) As Byte()
| Type | Name | Description |
|---|---|---|
| Graphics | measurmentGraphics | |
| string | rtf | The RTF text. |
| int | firstCharIndex | The index of first character. |
| int | length | The total number of characters. |
| Rect | bounds | The rectangle bounds. |
| bool | detectUrls | A value indicating whether or not the C1RichText will automatically format a Uniform Resource Locator (URL). |
| Type | Description |
|---|---|
| byte[] |