public final class Settings extends Object
| Constructor and Description |
|---|
Settings() |
| Modifier and Type | Method and Description |
|---|---|
static Path |
getIronPdfEngineFolder()
We will look for IronPdfEngine (binaries) in this folder first.
|
static String |
getIronPdfEngineHost()
Get IronPdfEngine host string.
|
static int |
getIronPdfEnginePort()
Get IronPdfEngine port int.
|
static String |
getIronPdfEngineVersion()
Gets iron pdf engine version.
|
static Path |
getLogPath()
Gets IronPdfEngine log file path.
|
static boolean |
isDebug()
Is debug boolean.
|
static void |
setDebug(boolean isDebug)
Enable or disable debug mode.
|
static void |
setIronPdfEngineFolder(Path path)
Sets a custom IronPdfEngine folder path.
|
static void |
setIronPdfEngineHost(String host)
Set iron pdf engine host.
|
static void |
setIronPdfEnginePort(int port)
Set IronPdfEngine port.
|
static void |
setLogPath(Path path)
Sets IronPdfEngine log file path.
|
public static String getIronPdfEngineVersion()
public static boolean isDebug()
public static void setDebug(boolean isDebug)
***Please set before calling any IronPdf function.***
isDebug - the is debug enabledpublic static Path getIronPdfEngineFolder()
public static void setIronPdfEngineFolder(Path path)
***Please set before calling any IronPdf function.*** If binaries are not present or are of an older version, the software will automatically try to download all the latest required binaries into this folder.
path - the pathpublic static Path getLogPath()
public static void setLogPath(Path path)
***Please set before calling any IronPdf function.***
path - the log file pathpublic static void setIronPdfEngineHost(String host)
host - the hostpublic static String getIronPdfEngineHost()
public static void setIronPdfEnginePort(int port)
port - the portpublic static int getIronPdfEnginePort()
Copyright © 2022. All rights reserved.