PdfPageLayer class

The PdfPageLayer used to create layers in PDF document. Layers refers to sections of content in a PDF document that can be selectively viewed or hidden by document authors or consumers.


PdfPageLayer(PdfPage pdfPage)
Initializes a new instance of the PdfPageLayer class with specified PDF page.


graphics PdfGraphics
Gets Graphics context of the layer, used to draw various graphical content on layer.
no setter
hashCode int
The hash code for this object.
no setterinherited
name String?
Gets the name of the layer
getter/setter pair
page PdfPage
Gets parent page of the layer.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
visible bool
Gets the visibility of the page layer.
getter/setter pair


noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.