LayerConfig
LayerConfig
Przegląd
LayerConfig jest klasą w Aspose.PDF FOSS dla TypeScript.
Konfiguracja wyświetlania (/D lub wpis /Configs).
Ta klasa deklaruje 5 metod dla obiektów LayerConfig w programach TypeScript. Dostępne metody to: IsVisible, ResolveVisibility, SetLocked, SetVisible, constructor. Wszystkie publiczne elementy są dostępne dla każdej aplikacji TypeScript po zainstalowaniu pakietu Aspose.PDF FOSS dla TypeScript. Właściwości: BaseState, Creator, Locked, Name.
Właściwości
| Nazwa | Typ | Dostęp | Opis |
|---|---|---|---|
BaseState | `‘ON’ | ‘OFF’` | Odczyt/zapis |
Name | `string | undefined` | Odczyt/zapis |
Creator | `string | undefined` | Odczyt |
Locked | Layer[] | Odczyt | Pobiera wartość locked. |
Metody
| Sygnatura | Opis |
|---|---|
constructor(doc: Document, Dict: PdfDict, oc: OptionalContent) | Wywołuje konstruktor(doc, Dict, oc) na tej instancji LayerConfig. |
IsVisible(layer: Layer) → boolean | Wywołuje IsVisible(layer) na tej instancji LayerConfig. |
| `ResolveVisibility(oc: PdfObject | undefined)→boolean` |
SetVisible(layer: Layer, v: boolean) | Wywołuje SetVisible(layer, v) na tej instancji LayerConfig. |
SetLocked(layer: Layer, v: boolean) | Wywołuje SetLocked(layer, v) na tej instancji LayerConfig. |