[]
        
(Showing Draft Content)

C1.Win.Document.Util.C1RichText.GetRtfMetafile

GetRtfMetafile Method

GetRtfMetafile(Graphics, string, int, int, Rect, bool)

Draws specified RTF text into metafile and returns this metafile.

Declaration
public static Metafile GetRtfMetafile(Graphics measurmentGraphics, string rtf, int firstCharIndex, int length, Rect bounds, bool detectUrls)
Public Shared Function GetRtfMetafile(measurmentGraphics As Graphics, rtf As String, firstCharIndex As Integer, length As Integer, bounds As Rect, detectUrls As Boolean) As Metafile
Parameters
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).

Returns
Type Description
Metafile