Modifier and Type | Method and Description |
---|---|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setAuthor(String author)
Set the author of the PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setAutoDetectElementToConvert(boolean value)
The main HTML element for conversion is detected automatically.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setBlockAds(boolean value)
Try to block ads.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setCenterWindow(boolean value)
Specify whether to position the document's window in the center of the screen.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setClientCertificate(String certificate)
A client certificate to authenticate Pdfcrowd converter on your web server.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setClientCertificatePassword(String password)
A password for PKCS12 file with a client certificate if it is needed.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setContentArea(String x,
String y,
String width,
String height)
Set the content area position and size.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setContentAreaHeight(String height)
Set the height of the content area.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setContentAreaWidth(String width)
Set the width of the content area.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setContentAreaX(String x)
Set the top left X coordinate of the content area.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setContentAreaY(String y)
Set the top left Y coordinate of the content area.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setContentsMatrix(String matrix)
A 2D transformation matrix applied to the main contents on each page.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setConverterVersion(String version)
Set the converter version.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setConvertImagesToJpeg(String images)
Specify which image types will be converted to JPEG.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setCookies(String cookies)
Set cookies that are sent in Pdfcrowd HTTP requests.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setCssPageRuleMode(String mode)
Specifies behavior in presence of CSS @page rules.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setCustomCss(String css)
Apply custom CSS to the input HTML document.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setCustomHttpHeader(String header)
Set a custom HTTP header that is sent in Pdfcrowd HTTP requests.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setCustomJavascript(String javascript)
Run a custom JavaScript after the document is loaded and ready to print.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDataAutoEscape(boolean value)
Auto escape HTML symbols in the input data before placing them into the output.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDataEncoding(String encoding)
Set the encoding of the data file set by setDataFile.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDataFile(String dataFile)
Load the input data for template rendering from the specified file.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDataFormat(String dataFormat)
Specify the input data format.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDataIgnoreUndefined(boolean value)
Ignore undefined variables in the HTML template.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDataOptions(String options)
Set the advanced data options:csv_delimiter - The CSV data delimiter, the default is ,.xml_remove_root - Remove the root XML element from the input data.data_root - The name of the root element inserted into the input data without a root node (e.g.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDataString(String dataString)
Set the input data for template rendering.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDataTrimBlocks(boolean value)
Auto trim whitespace around each template command block.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDebugLog(boolean value)
Turn on the debug logging.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDefaultEncoding(String encoding)
Set the default HTML content text encoding.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDisableImageLoading(boolean value)
Do not load images.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDisableJavascript(boolean value)
Do not execute JavaScript.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDisablePageHeightOptimization(boolean value)
Disable automatic height adjustment that compensates for pixel to point rounding errors.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDisableRemoteFonts(boolean value)
Disable loading fonts from remote sources.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setDisplayTitle(boolean value)
Specify whether the window's title bar should display the document title.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setElementToConvert(String selectors)
Convert only the specified element from the main document and its children.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setElementToConvertMode(String mode)
Specify the DOM handling when only a part of the document is converted.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setEnablePdfForms(boolean value)
Convert HTML forms to fillable PDF forms.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setEncrypt(boolean value)
Encrypt the PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setExcludeFooterOnPages(String pages)
The page footer is not printed on the specified pages.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setExcludeHeaderOnPages(String pages)
The page header is not printed on the specified pages.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setExtractMetaTags(boolean value)
Extract meta tags (author, keywords and description) from the input HTML and use them in the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.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.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setFailOnMainUrlError(boolean failOnError)
Abort the conversion if the main URL HTTP status code is greater than or equal to 400.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setFitWindow(boolean value)
Specify whether to resize the document's window to fit the size of the first displayed page.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setFooterHeight(String height)
Set the footer height.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setFooterHtml(String html)
Use the specified HTML as the page footer.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setFooterMatrix(String matrix)
A 2D transformation matrix applied to the page footer contents.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setFooterUrl(String url)
Load an HTML code from the specified URL and use it as the page footer.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHeaderFooterCssAnnotation(boolean value)
Add special CSS classes to the header/footer's body element.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHeaderFooterScaleFactor(int factor)
Set the scaling factor (zoom) for the header and footer.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHeaderHeight(String height)
Set the header height.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHeaderHtml(String html)
Use the specified HTML code as the page header.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHeaderMatrix(String matrix)
A 2D transformation matrix applied to the page header contents.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHeaderUrl(String url)
Load an HTML code from the specified URL and use it as the page header.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHideMenubar(boolean value)
Specify whether to hide the viewer application's menu bar when the document is active.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHideToolbar(boolean value)
Specify whether to hide the viewer application's tool bars when the document is active.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHideWindowUi(boolean value)
Specify whether to hide user interface elements in the document's window (such as scroll bars and navigation controls), leaving only the document's contents displayed.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHttpAuth(String userName,
String password)
Set credentials to access HTTP base authentication protected websites.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHttpAuthPassword(String password)
Set the HTTP authentication password.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHttpAuthUserName(String userName)
Set the HTTP authentication user name.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHttpProxy(String proxy)
A proxy server used by Pdfcrowd conversion process for accessing the source URLs with HTTP scheme.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setHttpsProxy(String proxy)
A proxy server used by Pdfcrowd conversion process for accessing the source URLs with HTTPS scheme.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setImageDpi(int dpi)
Set the DPI of images in PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setInitialPage(int page)
Display the specified page when the document is opened.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setInitialZoom(int zoom)
Specify the initial page zoom in percents when the document is opened.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setInitialZoomType(String zoomType)
Specify how the page should be displayed when opened.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setJavascriptDelay(int delay)
Wait the specified number of milliseconds to finish all JavaScript after the document is loaded.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setJpegQuality(int quality)
Set the quality of embedded JPEG images.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setKeywords(String keywords)
Associate keywords with the document.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setLayoutDpi(int dpi)
Set the internal DPI resolution used for positioning of PDF contents.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setLinearize(boolean value)
Create linearized PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setLoadIframes(String iframes)
Specifies how iframes are handled.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setLocale(String locale)
Set the locale for the conversion.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMainDocumentCssAnnotation(boolean value)
Add special CSS classes to the main document's body element.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMarginBottom(String bottom)
Set the output page bottom margin.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMarginLeft(String left)
Set the output page left margin.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMarginRight(String right)
Set the output page right margin.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMarginTop(String top)
Set the output page top margin.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMaxLoadingTime(int maxTime)
Set the maximum time to load the page and its resources.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMultipageBackground(String background)
Apply each page of a background to the corresponding page of the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMultipageBackgroundUrl(String url)
Load a file from the specified URL and apply each page of the file as a background to the corresponding page of the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMultipageWatermark(String watermark)
Apply each page of a watermark to the corresponding page of the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setMultipageWatermarkUrl(String url)
Load a file from the specified URL and apply each page of the file as a watermark to the corresponding page of the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setNoBackground(boolean value)
Do not print the background graphics.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setNoCopy(boolean value)
Disallow text and graphics extraction from the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setNoHeaderFooterHorizontalMargins(boolean value)
Disable horizontal page margins for header and footer.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setNoMargins(boolean value)
Disable page margins.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setNoModify(boolean value)
Disallow modification of the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setNoPrint(boolean value)
Disallow printing of the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setNoXpdfcrowdHeader(boolean value)
Do not send the X-Pdfcrowd HTTP header in Pdfcrowd HTTP requests.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setOnLoadJavascript(String javascript)
Run a custom JavaScript right after the document is loaded.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setOrientation(String orientation)
Set the output page orientation.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setOwnerPassword(String password)
Protect the PDF with an owner password.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageBackground(String background)
Apply a background to each page of the output PDF file.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageBackgroundColor(String color)
The page background color in RGB or RGBA hexadecimal format.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageBackgroundUrl(String url)
Load a file from the specified URL and apply the file as a background to each page of the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageDimensions(String width,
String height)
Set the output page dimensions.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageHeight(String height)
Set the output page height.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageLayout(String layout)
Specify the page layout to be used when the document is opened.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageMargins(String top,
String right,
String bottom,
String left)
Set the output page margins.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageMode(String mode)
Specify how the document should be displayed when opened.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageNumberingOffset(int offset)
Set an offset between physical and logical page numbers.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageSize(String size)
Set the output page size.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageWatermark(String watermark)
Apply a watermark to each page of the output PDF file.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageWatermarkUrl(String url)
Load a file from the specified URL and apply the file as a watermark to each page of the output PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPageWidth(String width)
Set the output page width.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setPrintPageRange(String pages)
Set the page range to print.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setProxy(String host,
int port,
String userName,
String password)
Specifies an HTTP proxy that the API client library will use to connect to the internet.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setReadabilityEnhancements(String enhancements)
The input HTML is automatically enhanced to improve the readability.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setRemoveBlankPages(String pages)
Specifies which blank pages to exclude from the output document.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setRenderingMode(String mode)
Set the rendering mode.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setRetryCount(int count)
Specifies the number of automatic retries when the 502 or 503 HTTP status code is received.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setRightToLeft(boolean value)
Set the predominant reading order for text to right-to-left.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setScaleFactor(int factor)
Set the scaling factor (zoom) for the main page area.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setSmartScalingMode(String mode)
Specifies the scaling mode used for fitting the HTML contents to the print area.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setSubject(String subject)
Set the subject of the PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setTag(String tag)
Tag the conversion with a custom value.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setTitle(String title)
Set the title of the PDF.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setUseHttp(boolean value)
Specifies if the client communicates over HTTP or HTTPS with Pdfcrowd API.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setUseMobileUserAgent(boolean value)
Use a mobile user agent.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setUsePrintMedia(boolean value)
Use the print version of the page if available (@media print).
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setUserAgent(String agent)
Set a custom user agent HTTP header.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setUserPassword(String password)
Protect the PDF with a user password.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setVerifySslCertificates(boolean value)
Do not allow insecure HTTPS connections.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setViewport(int width,
int height)
Set the viewport size.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setViewportHeight(int height)
Set the viewport height in pixels.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setViewportWidth(int width)
Set the viewport width in pixels.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setWaitForElement(String selectors)
Wait for the specified element in a source document.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setZipFooterFilename(String filename)
Set the file name of the footer HTML document stored in the input archive.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setZipHeaderFilename(String filename)
Set the file name of the header HTML document stored in the input archive.
|
Pdfcrowd.HtmlToPdfClient |
Pdfcrowd.HtmlToPdfClient.setZipMainFilename(String filename)
Set the file name of the main HTML document stored in the input archive.
|
Copyright © 2024. All rights reserved.