Namespace: Spire.Pdf.HtmlConverter
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public Image ConvertToImage(
	Stream stream,
	Encoding encoding,
	ImageType type,
	int width,
	int height,
	AspectRatio aspectRatio
)
Public Function ConvertToImage ( 
	stream As Stream,
	encoding As Encoding,
	type As ImageType,
	width As Integer,
	height As Integer,
	aspectRatio As AspectRatio
) As Image
public:
Image^ ConvertToImage(
	Stream^ stream, 
	Encoding^ encoding, 
	ImageType type, 
	int width, 
	int height, 
	AspectRatio aspectRatio
)
member ConvertToImage : 
        stream : Stream * 
        encoding : Encoding * 
        type : ImageType * 
        width : int * 
        height : int * 
        aspectRatio : AspectRatio -> Image 

Parameters

stream
Stream
encoding
Encoding
type
ImageType
width
Int32
height
Int32
aspectRatio
AspectRatio

Return Value

Image

See Also