Optional
createIs create pdf forms from html. Turns all Html forms elements into editable PDF forms.
true
Optional
cssOptional
customAllows a custom CSS style-sheet to be applied to Html before rendering.
Maybe a local file path or remote url.
undefined
Optional
enableEnables JavaScript and Json to be executed before the page is rendered.
Ideal for printing from Ajax / Angular Applications.
Also see waitFor
true
Optional
firstOptional
fitBehavior when fitting HTML content to a physical paper size. Determines zoom and viewPortWidth. See FitToPaperModes for a detailed description of each mode. Default disables automatic fitting behavior.
{@link FitToPaperModes.Default}
Optional
grayOutputs a black-and-white PDF
false
Optional
htmlOptional
htmlOptional
inputOptional
javascriptOptional
marginPdf "paper" margin in millimeters.
Set to zero for border-less and commercial printing applications.
{@link MarginConfig} default 25
Optional
paperThe PDF paper orientation.
{@link PdfPaperOrientation.Portrait}
Optional
paperSet an output paper size for PDF pages. Use customPaperWidthMm, customPaperHeightMm for custom sizes.
{@link PaperSize.A4}
Optional
printPrints background-colors and images from Html.
true
Optional
textOptional
textOptional
timeoutRender timeout in seconds
60
Optional
titlePDF Document Name and Title meta-data. Not required. Useful for mail-merge and automatic file naming in the IronPdf MVC and Razor extensions.
Optional
useUse margin values from the main document when rendering headers and footers
{@link UseMargins.LeftAndRight}
Optional
waitA wrapper object that holds configuration for wait-for mechanism for user to wait for certain events before rendering.
{@link WaitForRenderDelay} with 20 milliseconds
Generated using TypeDoc
Html or Url To PDF output options for PdfGenerator and PdfDocument static method. Specify options such as Paper-Size, DPI and other Chromium specific browser setup options.