HtmlConverter
FromString Method (String, String, ImageType, Int32)
|
Html Convert to Image.
Namespace:
Spire.Additions.Html
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public Image FromString(
string html,
string baseUrl,
ImageType type,
int width
)
Public Function FromString (
html As String,
baseUrl As String,
type As ImageType,
width As Integer
) As Image
public:
Image^ FromString(
String^ html,
String^ baseUrl,
ImageType type,
int width
)
member FromString :
html : string *
baseUrl : string *
type : ImageType *
width : int -> Image
Parameters
-
html
-
Type:
System
String
html string.
-
baseUrl
-
Type:
System
String
baseUrl.
-
type
-
Type:
Spire.Additions.Html
ImageType
ImageType.
-
width
-
Type:
System
Int32
width.
Return Value
Type:
Image
Returns Image.
See Also