[]
        
(Showing Draft Content)

C1.Win.Document.Util.C1DXExportGraphics.GetRtfImage

GetRtfImage Method

GetRtfImage(Graphics, string, int, int, Rect, bool, out Size)

Gets specified RTF text into metafile and returns this metafile.

Declaration
protected C1Image GetRtfImage(Graphics measurementGraphics, string rtf, int firstCharIndex, int length, Rect bounds, bool detectUrls, out Size realSize)
Protected Function GetRtfImage(measurementGraphics As Graphics, rtf As String, firstCharIndex As Integer, length As Integer, bounds As Rect, detectUrls As Boolean, ByRef realSize As Size) As C1Image
Parameters
Type Name Description
Graphics measurementGraphics
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).

Size realSize

The real image size.

Returns
Type Description
C1Image

A C1Image object.