PdfImage
FromRtf Method (String, Single, Single, PdfImageType)
|
Note: This API is now obsolete.
Creates a new image instance from RTF text.
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
[ObsoleteAttribute("This method may be removed in the future,not support rtf.")]
public static PdfImage FromRtf(
string rtf,
float width,
float height,
PdfImageType type
)
<ObsoleteAttribute("This method may be removed in the future,not support rtf.")>
Public Shared Function FromRtf (
rtf As String,
width As Single,
height As Single,
type As PdfImageType
) As PdfImage
public:
[ObsoleteAttribute(L"This method may be removed in the future,not support rtf.")]
static PdfImage^ FromRtf(
String^ rtf,
float width,
float height,
PdfImageType type
)
[<ObsoleteAttribute("This method may be removed in the future,not support rtf.")>]
static member FromRtf :
rtf : string *
width : float32 *
height : float32 *
type : PdfImageType -> PdfImage
Parameters
-
rtf
-
Type:
System
String
RTF text data.
-
width
-
Type:
System
Single
Width of the image in points.
-
height
-
Type:
System
Single
Height of the image in points.
-
type
-
Type:
Spire.Pdf.Graphics
PdfImageType
Type of the image that should be created.
Return Value
Type:
PdfImage
PdfImage containing RTF text.
See Also