Class CefRenderSettings
Inheritance
System.Object
CefRenderSettings
Assembly: IronPdf.dll
Syntax
public class CefRenderSettings : Object
Constructors
CefRenderSettings()
Declaration
public CefRenderSettings()
Properties
Declaration
public bool ApplyMarginToHeaderAndFooter { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
AutoSizeBehavior
Declaration
public int AutoSizeBehavior { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
AutoSizeScreenToPaperPPI
Declaration
public int AutoSizeScreenToPaperPPI { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
EnableBackgrounds
Declaration
public bool EnableBackgrounds { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Enable emulation of "screen" css media type
Declaration
public bool EnableEmulateScreenMediaType { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool EnableFormGeneration { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableLandscapeOrientation
Enable landscape orientation
Declaration
public bool EnableLandscapeOrientation { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
FirstPageNumber
Declaration
public int FirstPageNumber { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public string FooterHtml { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string HeaderHtml { get; set; }
Property Value
Type |
Description |
System.String |
|
Max footer height in pixels
Declaration
public int MaxFooterHeight { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Max header height in pixels
Declaration
public int MaxHeaderHeight { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
PageHeight
Declaration
public double PageHeight { get; set; }
Property Value
Type |
Description |
System.Double |
|
PageMarginBottom
Declaration
public double PageMarginBottom { get; set; }
Property Value
Type |
Description |
System.Double |
|
PageMarginLeft
Declaration
public double PageMarginLeft { get; set; }
Property Value
Type |
Description |
System.Double |
|
PageMarginRight
Declaration
public double PageMarginRight { get; set; }
Property Value
Type |
Description |
System.Double |
|
PageMarginTop
Declaration
public double PageMarginTop { get; set; }
Property Value
Type |
Description |
System.Double |
|
PageMarginType
Declaration
public int PageMarginType { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
PageSizeType
Declaration
public string PageSizeType { get; set; }
Property Value
Type |
Description |
System.String |
|
PageWidth
Declaration
public double PageWidth { get; set; }
Property Value
Type |
Description |
System.Double |
|
PostProcessingJavascript
Declaration
public string PostProcessingJavascript { get; set; }
Property Value
Type |
Description |
System.String |
|
RenderDelay
Declaration
public int RenderDelay { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
SavePath
Declaration
public string SavePath { get; set; }
Property Value
Type |
Description |
System.String |
|
Scale
Declaration
public int Scale { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Timeout
Declaration
public int Timeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Title
Declaration
public string Title { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
DeletePointer()
Declaration
public void DeletePointer()
Dispose()
Declaration
Finalize()
Declaration
protected override void Finalize()
GetPointer()
Declaration
public IntPtr GetPointer()
Returns
Type |
Description |
System.IntPtr |
|
TranslateMarginType(String)
Translate a margin type string into an enum value
Declaration
public static int TranslateMarginType(string type)
Parameters
Type |
Name |
Description |
System.String |
type |
Margin type string
|
Returns
Type |
Description |
System.Int32 |
Equivalent enum value
|
Operators
Implicit(CefRenderSettings to IntPtr)
Declaration
public static implicit operator IntPtr(CefRenderSettings settings)
Parameters
Returns
Type |
Description |
System.IntPtr |
|