Layer class
Leave feedback
On this page
Represents a layer contained in the CAD drawing.
The Layer type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the Layer class. |
| init | Initializes a new Layer instance. |
| init | Initializes a new Layer instance. |
| Method | Description |
|---|---|
| equals | Determines whether the current Layer is the same as the specified Layer object. |
| equals | Checks whether the current Layer is equal to the specified object. |
| equals_layer | |
| equals_object | |
| get_hash_code | Returns the hash code for the current Layer object. |
| to_string | Returns a string that represents the current object. |
from groupdocs.viewer import Viewer
from groupdocs.viewer.options import PdfViewOptions
from groupdocs.viewer.results import Layer
with Viewer("sample.dwg") as viewer:
options = PdfViewOptions("output.pdf")
options.cad_options.layers = [Layer("QUADRANT")]
viewer.view(options)
- module
groupdocs.viewer.results
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.