HtmlConverter
ConvertToImage Method (String, ImageType, Int32, String, String)
|
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 ConvertToImage(
string url,
ImageType type,
int width,
string username,
string password
)
Public Function ConvertToImage (
url As String,
type As ImageType,
width As Integer,
username As String,
password As String
) As Image
public:
Image^ ConvertToImage(
String^ url,
ImageType type,
int width,
String^ username,
String^ password
)
member ConvertToImage :
url : string *
type : ImageType *
width : int *
username : string *
password : string -> Image
Parameters
-
url
-
Type:
System
String
url of html.
-
type
-
Type:
Spire.Additions.Html
ImageType
ImageType.
-
width
-
Type:
System
Int32
width.
-
username
-
Type:
System
String
username.
-
password
-
Type:
System
String
password.
Return Value
Type:
Image
Returns Image.
See Also