GroupDocsGists
10/19/2017 - 11:22 AM

GetMetadatPropertiesInDXF.cs

// For complete examples and data files, please go to https://github.com/groupdocs-metadata/GroupDocs.Metadata-for-.NET
// initialize DwgFormat class
DxfFormat dxfFormat = new DxfFormat(Common.MapSourceFilePath(dxfFilePath));

// get metadata
CadMetadata metadata = dxfFormat.GetDfxMetadata();

// get width
int width = metadata.Width;

// get height
int height = metadata.Height;

// get header attribute
string[] attributes = metadata.HeaderAttributes;