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

Parameters

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

Return Value

Image

See Also