HtmlConverter
ConvertToImage Method (Stream, Encoding, ImageType, Int32)
|
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(
Stream stream,
Encoding encoding,
ImageType type,
int width
)
Public Function ConvertToImage (
stream As Stream,
encoding As Encoding,
type As ImageType,
width As Integer
) As Image
public:
Image^ ConvertToImage(
Stream^ stream,
Encoding^ encoding,
ImageType type,
int width
)
member ConvertToImage :
stream : Stream *
encoding : Encoding *
type : ImageType *
width : int -> Image
Parameters
-
stream
-
Type:
System.IO
Stream
stream of html.
-
encoding
-
Type:
System.Text
Encoding
Encoding.
-
type
-
Type:
Spire.Additions.Html
ImageType
ImageType.
-
width
-
Type:
System
Int32
width.
Return Value
Type:
Image
Returns Image.
See Also