LayerConfig
Vue d’ensemble
LayerConfig est une classe dans Aspose.PDF FOSS pour TypeScript.
Une configuration d’affichage (/D ou une entrée /Configs).
Cette classe déclare 5 méthodes pour les objets LayerConfig dans les programmes TypeScript. Les méthodes disponibles incluent : IsVisible, ResolveVisibility, SetLocked, SetVisible, constructor. Tous les membres publics sont accessibles à toute application TypeScript après l’installation du paquet Aspose.PDF FOSS pour TypeScript. Propriétés : BaseState, Creator, Locked, Name.
Propriétés
| Nom | Type | Accès | Description |
|---|---|---|---|
BaseState | `‘ON’ | ‘OFF’` | Lecture/Écriture |
Name | `string | undefined` | Lecture/Écriture |
Creator | `string | undefined` | Lecture |
Locked | Layer[] | Lecture | Obtient le verrouillé. |
Méthodes
| Signature | Description |
|---|---|
constructor(doc: Document, Dict: PdfDict, oc: OptionalContent) | Appelle le constructeur(doc, Dict, oc) sur cette instance LayerConfig. |
IsVisible(layer: Layer) → boolean | Appelle IsVisible(layer) sur cette instance LayerConfig. |
| `ResolveVisibility(oc: PdfObject | undefined)→boolean` |
SetVisible(layer: Layer, v: boolean) | Appelle SetVisible(layer, v) sur cette instance LayerConfig. |
SetLocked(layer: Layer, v: boolean) | Appelle SetLocked(layer, v) sur cette instance LayerConfig. |