ScenePdfOptions Class

The options of ScenePdfRenderer.

public sealed class ScenePdfOptions

Constructors

NameDescription
ScenePdfOptions()

ScenePdfOptions()

ScenePdfOptions.cs
public ScenePdfOptions()

No documentation is available.

Properties

NameDescription
FontsGets or sets the fonts of the texts, or null to draw them with the standard fonts Helvetica, Helvetica-Bold, Helvetica-Oblique and Helvetica-BoldOblique, which are not embedded. The layout measures the texts with them, and the PDF embeds the subsets of the faces that draw them. The fonts of a scene (Scene.Fonts) take precedence over them.
ScaleGets or sets the number of points (1/72 inch) per unit of the drawing. The default is 0.75: a unit is a CSS pixel (1/96 inch), so the PDF has the size a browser gives the SVG of the same drawing.
StructureParentGets or sets the element of the structure tree the figure of the drawing is added to, or null to add it at the root of the tree. It must be an element of the document of the page.
TaggedGets or sets a value that indicates whether the drawing is tagged, for the assistive technologies: it is a Figure element of the structure tree of the document, whose alternate description is the title and the description of the scene (Scene.Title, Scene.Description), and its hyperlinks are Link elements of the figure. The default is true. Set it to false to draw on a page of a document that is not tagged.

Gets or sets the fonts of the texts, or null to draw them with the standard fonts Helvetica, Helvetica-Bold, Helvetica-Oblique and Helvetica-BoldOblique, which are not embedded. The layout measures the texts with them, and the PDF embeds the subsets of the faces that draw them. The fonts of a scene (Scene.Fonts) take precedence over them.

public SceneFontCollection? Fonts { get; set; }

Property value

SceneFontCollection?

Gets or sets the number of points (1/72 inch) per unit of the drawing. The default is 0.75: a unit is a CSS pixel (1/96 inch), so the PDF has the size a browser gives the SVG of the same drawing.

public double Scale { get; set; }

Property value

double

Exceptions

ArgumentOutOfRangeException
The value is not a positive finite number.

StructureParent

ScenePdfOptions.cs

Gets or sets the element of the structure tree the figure of the drawing is added to, or null to add it at the root of the tree. It must be an element of the document of the page.

public PdfStructureElement? StructureParent { get; set; }

Property value

PdfStructureElement?

Gets or sets a value that indicates whether the drawing is tagged, for the assistive technologies: it is a Figure element of the structure tree of the document, whose alternate description is the title and the description of the scene (Scene.Title, Scene.Description), and its hyperlinks are Link elements of the figure. The default is true. Set it to false to draw on a page of a document that is not tagged.

public bool Tagged { get; set; }

Property value

bool