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(
	string url,
	ImageType type,
	int width,
	int height,
	AspectRatio aspectRatio
)
Public Function ConvertToImage ( 
	url As String,
	type As ImageType,
	width As Integer,
	height As Integer,
	aspectRatio As AspectRatio
) As Image
public:
Image^ ConvertToImage(
	String^ url, 
	ImageType type, 
	int width, 
	int height, 
	AspectRatio aspectRatio
)
member ConvertToImage : 
        url : string * 
        type : ImageType * 
        width : int * 
        height : int * 
        aspectRatio : AspectRatio -> Image 

Parameters

url
String
type
ImageType
width
Int32
height
Int32
aspectRatio
AspectRatio

Return Value

Image

See Also