PdfSettings Class

Summary

Settings for the pdf convert
Assembly
Cake.MarkdownToPdf.dll
Namespace
Cake.MarkdownToPdf
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["PdfSettings"] class Type type-node

Syntax

public class PdfSettings

Constructors

Name Summary
PdfSettings()

Properties

Name Value Summary
AdditionalGlobalOptions string
Gets or sets additional wkhtmltopdf Global Options
AdditionalPageOptions string
Gets or sets additional wkhtmltopdf Page Options
ImageDpi int
Gets or sets the dpi of the images within the pdf
ImageQuality int
Percentage if the output image quality (compression)
Margins PdfPageMargins
Margins in mm
Orientation PdfPageOrientation
Gets or sets the page orientation
PageSize PdfPageSize
Gets or sets the pdf page size

Extension Methods

Name Value Summary
Dump<PdfSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<PdfSettings>(PdfSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<PdfSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<PdfSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<PdfSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<PdfSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin