PdfPrintOptions Class
The options of the PDF documents printed by PdfPrintExtensions.
public sealed class PdfPrintOptions : IEquatable<PdfPrintOptions>- Implements
Constructors
| Name | Description |
|---|---|
| PdfPrintOptions() |
PdfPrintOptions()
PdfPrintOptions.cspublic PdfPrintOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Default | Gets the default options. |
| IncludeLinks | Gets a value indicating whether the links of the document (a elements with an href) are link annotations. The default is true. |
| IncludeOutlines | Gets a value indicating whether the headings of the document (h1 to h6) are the outline (bookmarks) of the document. The default is true. |
| PdfAConformance | Gets the PDF/A conformance of the document. |
| PdfUAConformance | Gets the PDF/UA conformance of the document. The document needs a title (PdfPrintOptions.Title or the title element) and a language (the lang attribute of the root element). |
| RasterizationScale | Gets the number of image pixels per CSS pixel of the parts of the pages that PDF cannot draw as vector graphics (blurred shadows, filters, some compositing operators, 3D transforms), which are drawn as images. The default is 2 (192 pixels per inch). |
| Tagged | Gets a value indicating whether the document is a tagged PDF (ISO 32000-2, 14.8): a structure tree made from the elements of the document (headings, paragraphs, lists, tables, figures, links), so that assistive technologies can read it, and the decorations (backgrounds, borders, page-margin boxes) marked as artifacts. The default is true. |
| Title | Gets the title of the document, or null for the title of the HTML document (its title element). |
Default
PdfPrintOptions.csIncludeLinks
PdfPrintOptions.csIncludeOutlines
PdfPrintOptions.csPdfAConformance
PdfPrintOptions.csGets the PDF/A conformance of the document.
public PdfAConformance PdfAConformance { get; init; }Property value
PdfUAConformance
PdfPrintOptions.csGets the PDF/UA conformance of the document. The document needs a title (PdfPrintOptions.Title or the title element) and a language (the lang attribute of the root element).
public PdfUAConformance PdfUAConformance { get; init; }Property value
RasterizationScale
PdfPrintOptions.csGets the number of image pixels per CSS pixel of the parts of the pages that PDF cannot draw as vector graphics (blurred shadows, filters, some compositing operators, 3D transforms), which are drawn as images. The default is 2 (192 pixels per inch).
public double RasterizationScale { get; init; }Property value
Tagged
PdfPrintOptions.csGets a value indicating whether the document is a tagged PDF (ISO 32000-2, 14.8): a structure tree made from the elements of the document (headings, paragraphs, lists, tables, figures, links), so that assistive technologies can read it, and the decorations (backgrounds, borders, page-margin boxes) marked as artifacts. The default is true.
public bool Tagged { get; init; }Property value
Remarks
The document is always tagged when PdfPrintOptions.PdfUAConformance is set, or when PdfPrintOptions.PdfAConformance is a level A conformance.
Title
PdfPrintOptions.csMethods
| Name | Description |
|---|---|
| Equals(PdfPrintOptions?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() |
Equals overloads
Equals(PdfPrintOptions?)
public bool Equals(PdfPrintOptions? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(PdfPrintOptions?, PdfPrintOptions?) | |
| operator !=(PdfPrintOptions?, PdfPrintOptions?) |
operator ==(PdfPrintOptions?, PdfPrintOptions?)
public static bool operator ==(PdfPrintOptions? left, PdfPrintOptions? right)No documentation is available.
operator !=(PdfPrintOptions?, PdfPrintOptions?)
public static bool operator !=(PdfPrintOptions? left, PdfPrintOptions? right)No documentation is available.