ChromeHtmlConverter Constructor
|
Creates this object and sets it's needed properties
Namespace:
Spire.Additions.Chrome
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public ChromeHtmlConverter(
string chromiumExeFileName = null
)
Public Sub New (
Optional chromiumExeFileName As String = Nothing
)
public:
ChromeHtmlConverter(
String^ chromiumExeFileName = nullptr
)
new :
?chromiumExeFileName : string
(* Defaults:
let _chromiumExeFileName = defaultArg chromiumExeFileName null
*)
-> ChromeHtmlConverter
Parameters
-
chromiumExeFileName
(Optional)
-
Type:
System
String
When set then this has to be the full path to the Google Chrome
or Microsoft Edge executable. When not set then then the converter tries to find Chrome.exe or
msEdge.exe by first looking in the path where this library exists. After that it tries to find
it by looking into the registry
Exceptions
Exception
|
Condition
|
FileNotFoundException
|
Raised when
chromiumExeFileName
does not exists
|
DirectoryNotFoundException
|
Raised when the
userProfile
directory is given but does not exists
|
See Also