PdfLayerCollection class

The class provides methods and properties to handle the collections of PdfLayer

Inheritance

Properties

count int
Gets number of the elements in the collection.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add({String? name, bool? visible}) PdfLayer
Creates a new PdfLayer with name and adds it to the end of the collection.
clear() → void
Clears layers from the PdfLayerCollection.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove({PdfLayer? layer, String? name, bool isRemoveGraphicalContent = false}) → void
Removes layer from the collection by using layer or layer name and may also remove graphical content, if isRemoveGraphicalContent is true.
removeAt(int index, [bool isRemoveGraphicalContent = false]) → void
Removes layer by its index from collections and may also remove graphical content if isRemoveGraphicalContent is true.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int index) PdfLayer
Gets PdfLayer by its index from PdfLayerCollection.