Interface IPdfRenderOptions
Assembly: IronPdf.dll
Syntax
public interface IPdfRenderOptions
Properties
Declaration
bool ApplyMarginToHeaderAndFooter { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
bool CreatePdfFormsFromHtml { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
PdfCssMediaType CssMediaType { get; set; }
Property Value
CustomCssUrl
Declaration
string CustomCssUrl { get; set; }
Property Value
Type |
Description |
System.String |
|
CustomPaperHeight
Declaration
double CustomPaperHeight { get; set; }
Property Value
Type |
Description |
System.Double |
|
CustomPaperWidth
Custom paper width, in mm
Declaration
double CustomPaperWidth { get; set; }
Property Value
Type |
Description |
System.Double |
|
DPI
Declaration
Property Value
Type |
Description |
System.Int32 |
|
EnableJavaScript
Declaration
bool EnableJavaScript { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
FirstPageNumber
Declaration
int FirstPageNumber { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
FitToPaperMode
Declaration
FitToPaperModes FitToPaperMode { get; set; }
Property Value
Type |
Description |
IronPdf.Engines.Chrome.FitToPaperModes |
|
FitToPaperWidth
Declaration
bool FitToPaperWidth { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ForcePaperSize
Declaration
bool ForcePaperSize { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
GrayScale
Declaration
bool GrayScale { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
HtmlHeaderFooter HtmlFooter { get; set; }
Property Value
Declaration
HtmlHeaderFooter HtmlHeader { get; set; }
Property Value
Declaration
Encoding InputEncoding { get; set; }
Property Value
Type |
Description |
System.Text.Encoding |
|
Javascript
Declaration
string Javascript { get; set; }
Property Value
Type |
Description |
System.String |
|
JavascriptMessageListener
Declaration
StringDelegate JavascriptMessageListener { get; set; }
Property Value
JpegQuality
Declaration
int JpegQuality { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
MarginBottom
Declaration
double MarginBottom { get; set; }
Property Value
Type |
Description |
System.Double |
|
MarginLeft
Declaration
double MarginLeft { get; set; }
Property Value
Type |
Description |
System.Double |
|
MarginRight
Declaration
double MarginRight { get; set; }
Property Value
Type |
Description |
System.Double |
|
MarginTop
Declaration
double MarginTop { get; set; }
Property Value
Type |
Description |
System.Double |
|
PaperOrientation
Declaration
PdfPaperOrientation PaperOrientation { get; set; }
Property Value
PaperSize
Declaration
PdfPaperSize PaperSize { get; set; }
Property Value
PrintHtmlBackgrounds
Declaration
bool PrintHtmlBackgrounds { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
RenderDelay
Declaration
int RenderDelay { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
RequestContext
Declaration
RequestContexts RequestContext { get; set; }
Property Value
Declaration
ITextHeaderFooter TextFooter { get; set; }
Property Value
Type |
Description |
IronPdf.ITextHeaderFooter |
|
Declaration
ITextHeaderFooter TextHeader { get; set; }
Property Value
Type |
Description |
IronPdf.ITextHeaderFooter |
|
Timeout
Declaration
int Timeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Title
Declaration
string Title { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
UseMargins UseMarginsOnHeaderAndFooter { get; set; }
Property Value
ViewPortHeight
Declaration
int ViewPortHeight { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
ViewPortWidth
Declaration
int ViewPortWidth { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
WaitFor
Declaration
WaitFor WaitFor { get; set; }
Property Value
Zoom
Declaration
Property Value
Type |
Description |
System.Int32 |
|
Methods
Clone()
Declaration
Returns
Type |
Description |
System.Object |
|
SetCustomPaperSizeinCentimeters(Double, Double)
Declaration
void SetCustomPaperSizeinCentimeters(double width, double height)
Parameters
Type |
Name |
Description |
System.Double |
width |
|
System.Double |
height |
|
SetCustomPaperSizeInInches(Double, Double)
Declaration
void SetCustomPaperSizeInInches(double width, double height)
Parameters
Type |
Name |
Description |
System.Double |
width |
|
System.Double |
height |
|
SetCustomPaperSizeinMilimeters(Double, Double)
Declaration
void SetCustomPaperSizeinMilimeters(double width, double height)
Parameters
Type |
Name |
Description |
System.Double |
width |
|
System.Double |
height |
|
SetCustomPaperSizeinPixelsOrPoints(Double, Double, Int32)
Declaration
void SetCustomPaperSizeinPixelsOrPoints(double width, double height, int DPI = 96)
Parameters
Type |
Name |
Description |
System.Double |
width |
|
System.Double |
height |
|
System.Int32 |
DPI |
|