Table of Contents

Class CadPdfLayersRequest

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

What PDFLAYERS gives its PDF Layers dialog: the underlay's name, the layers the PDF has in its order, which of them the underlay has switched on or off, and what the dialog was closed with. The window writes Overrides.

public sealed class CadPdfLayersRequest
Inheritance
CadPdfLayersRequest
Inherited Members

Properties

Action

Gets or sets what the dialog was closed with; Cancel until set.

LayerNames

Gets the names of the layers of the PDF, in the order it lists them.

Overrides

Gets the layers the underlay switches on (true) or off (false) against the state the PDF opens with; the dialog's OK writes it.

UnderlayName

Gets the name of the underlay.

Methods

IsOn(string)

Gets whether a layer is on as the underlay shows it now.

IsOnByDefault(string)

Gets whether a layer is on as the PDF opens, which the underlay shows until it overrides it.