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

Parameters

html
String
baseurl
String
type
ImageType
width
Int32
height
Int32
aspectRatio
AspectRatio

Return Value

HtmlToPdfResult

See Also