CadRootPackage
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage
public abstract class CadRootPackage extends RootMetadataPackage
Represents the root package allowing working with metadata in a CAD drawing.
Learn more
This code sample shows how to read metadata of a CAD drawing.
try (Metadata metadata = new Metadata(Constants.InputDxf)) { CadRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getCadPackage().getAcadVersion()); System.out.println(root.getCadPackage().getAuthor()); System.out.println(root.getCadPackage().getComments()); System.out.println(root.getCadPackage().getCreatedDateTime()); System.out.println(root.getCadPackage().getHyperlinkBase()); System.out.println(root.getCadPackage().getKeywords()); System.out.println(root.getCadPackage().getLastSavedBy()); System.out.println(root.getCadPackage().getTitle()); // … }
| Method | Description |
|---|---|
| getCadPackage() | Gets the CAD metadata package. |
public final CadPackage getCadPackage()
Gets the CAD metadata package.
Returns: CadPackage - The CAD metadata package.
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.