Layer

Overview

Layer is a class in Aspose.PDF FOSS for TypeScript.

A single optional-content group (layer): a live handle over its /OCG dict.

This class declares 1 method for Layer objects in TypeScript programs. Available methods include: constructor. All public members are accessible to any TypeScript application after installing the Aspose.PDF FOSS for TypeScript package. Properties: Intent, Name, Visible.

Properties

NameTypeAccessDescription
NamestringRead/WriteGets the name.
Intentstring[]ReadGets the intent.
VisiblebooleanRead/WriteGets the visible.

Methods

SignatureDescription
constructor(doc: Document, Ref: PdfRef, Dict: PdfDict, oc: OptionalContent)Calls constructor(doc, Ref, Dict, oc) on this Layer instance.