Modifier and Type | Method and Description |
---|---|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setBlockAds(boolean blockAds)
Try to block ads.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setClientCertificate(java.lang.String clientCertificate)
A client certificate to authenticate Pdfcrowd converter on your web server.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setClientCertificatePassword(java.lang.String clientCertificatePassword)
A password for PKCS12 file with a client certificate if it's needed.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setCookies(java.lang.String cookies)
Set cookies that are sent in Pdfcrowd HTTP requests.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setCustomHttpHeader(java.lang.String customHttpHeader)
Set a custom HTTP header that is sent in Pdfcrowd HTTP requests.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setCustomJavascript(java.lang.String customJavascript)
Run a custom JavaScript after the document is loaded and ready to print.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setDebugLog(boolean debugLog)
Turn on the debug logging.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setDefaultEncoding(java.lang.String defaultEncoding)
Set the default HTML content text encoding.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setDisableImageLoading(boolean disableImageLoading)
Do not load images.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setDisableJavascript(boolean disableJavascript)
Do not execute JavaScript.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setDisableRemoteFonts(boolean disableRemoteFonts)
Disable loading fonts from remote sources.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setElementToConvert(java.lang.String selectors)
Convert only the specified element from the main document and its children.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setElementToConvertMode(java.lang.String mode)
Specify the DOM handling when only a part of the document is converted.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setFailOnAnyUrlError(boolean failOnError)
Abort the conversion if any of the sub-request HTTP status code is greater than or equal to 400 or if some sub-requests are still pending.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setFailOnMainUrlError(boolean failOnError)
Abort the conversion if the main URL HTTP status code is greater than or equal to 400.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setHttpAuth(java.lang.String userName,
java.lang.String password)
Set credentials to access HTTP base authentication protected websites.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setHttpAuthPassword(java.lang.String password)
Set the HTTP authentication password.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setHttpAuthUserName(java.lang.String userName)
Set the HTTP authentication user name.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setHttpProxy(java.lang.String httpProxy)
A proxy server used by Pdfcrowd conversion process for accessing the source URLs with HTTP scheme.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setHttpsProxy(java.lang.String httpsProxy)
A proxy server used by Pdfcrowd conversion process for accessing the source URLs with HTTPS scheme.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setJavascriptDelay(int javascriptDelay)
Wait the specified number of milliseconds to finish all JavaScript after the document is loaded.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setNoBackground(boolean noBackground)
Do not print the background graphics.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setNoXpdfcrowdHeader(boolean noXpdfcrowdHeader)
Do not send the X-Pdfcrowd HTTP header in Pdfcrowd HTTP requests.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setOnLoadJavascript(java.lang.String onLoadJavascript)
Run a custom JavaScript right after the document is loaded.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setOutputFormat(java.lang.String outputFormat)
The format of the output file.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setProxy(java.lang.String host,
int port,
java.lang.String userName,
java.lang.String password)
Specifies an HTTP proxy that the API client library will use to connect to the internet.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setRetryCount(int retryCount)
Specifies the number of retries when the 502 HTTP status code is received.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setScaleFactor(int scaleFactor)
Set the scaling factor (zoom) for the output image.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setScreenshotHeight(int screenshotHeight)
Set the output image height in pixels.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setScreenshotWidth(int screenshotWidth)
Set the output image width in pixels.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setTag(java.lang.String tag)
Tag the conversion with a custom value.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setUseHttp(boolean useHttp)
Specifies if the client communicates over HTTP or HTTPS with Pdfcrowd API.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setUsePrintMedia(boolean usePrintMedia)
Use the print version of the page if available (@media print).
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setUserAgent(java.lang.String userAgent)
Set a custom user agent HTTP header.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setVerifySslCertificates(boolean verifySslCertificates)
Do not allow insecure HTTPS connections.
|
Pdfcrowd.HtmlToImageClient |
Pdfcrowd.HtmlToImageClient.setWaitForElement(java.lang.String selectors)
Wait for the specified element in a source document.
|
Copyright © 2019. All rights reserved.