Click or drag to resize

DxfDocument Class

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Represents a document to read and write DXF files.
Inheritance Hierarchy

Namespace:  netDxf
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public sealed class DxfDocument : DxfObject
Request Example View Source

The DxfDocument type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyActiveLayout
Gets or sets the name of the active layout.
Public propertyApplicationRegistries
Gets the application registries collection.
Public propertyArcs
Gets the arcs list.
Public propertyAttributeDefinitions
Gets the attribute definitions list.
Public propertyBlocks
Gets the block collection.
Public propertyCircles
Gets the circles list.
Public propertyCodeName
Gets the DXF object name.
(Inherited from DxfObject.)
Public propertyComments
Gets or sets the name of the document, once a file is saved or loaded this field is equals the file name without extension.
Public propertyDimensions
Gets the dimensions list.
Public propertyDimensionStyles
Gets the dimension styles collection.
Public propertyDrawingVariables
Gets the dxf drawing variables.
Public propertyEllipses
Gets the ellipses list.
Public propertyFaces3d
Gets the 3d faces list.
Public propertyGroups
Gets the groups collection.
Public propertyHandle
Gets the handle assigned to the DXF object.
(Inherited from DxfObject.)
Public propertyHatches
Gets the hatches list.
Public propertyImageDefinitions
Gets the image definitions collection.
Public propertyImages
Gets the images list.
Public propertyInserts
Gets the inserts list.
Public propertyLayers
Gets the layers collection.
Public propertyLayouts
Gets the layouts collection.
Public propertyLeaders
Gets the leader list.
Public propertyLines
Gets the lines list.
Public propertyLinetypes
Gets the line types collection.
Public propertyLwPolylines
Gets the light weight polylines list.
Public propertyMeshes
Gets the mesh list.
Public propertyMLines
Gets the multilines list.
Public propertyMlineStyles
Gets the MLine styles collection.
Public propertyMTexts
Gets the multiline texts list.
Public propertyName
Gets or sets the name of the document.
Public propertyOwner
Gets the owner of the actual DxfObject.
(Inherited from DxfObject.)
Public propertyPoints
Gets the points list.
Public propertyPolyfaceMeshes
Gets the polyface meshes list.
Public propertyPolylines
Gets the polylines list.
Public propertyRasterVariables
Gets or sets the RasterVariables applied to image entities.
Public propertyRays
Gets the rays list.
Public propertyShapes
Gets the shapes list.
Public propertyShapeStyles
Gets the shape styles collection.
Public propertySolids
Gets the solids list.
Public propertySplines
Gets the splines list.
Public propertySupportFolders
Gets the list of folders where the drawing support files are present.
Public propertyTexts
Gets the texts list.
Public propertyTextStyles
Gets the text styles collection.
Public propertyTolerances
Gets the tolerance list.
Public propertyTraces
Gets the traces list.
Public propertyUCSs
Gets the User coordinate systems collection.
Public propertyUnderlayDgnDefinitions
Gets the dgn underlay definitions collection.
Public propertyUnderlayDwfDefinitions
Gets the dwf underlay definitions collection.
Public propertyUnderlayPdfDefinitions
Gets the pdf underlay definitions collection.
Public propertyUnderlays
Gets the underlay list.
Public propertyViewport
Gets the document viewport.
Public propertyViewports
Gets the viewports list.
Public propertyVPorts
Gets the viewports collection.
Public propertyWipeouts
Gets the wipeouts list.
Public propertyXLines
Gets the extension lines list.
Top
Methods
  NameDescription
Public methodAddEntity(EntityObject)
Adds an entity to the document.
Public methodAddEntity(IEnumerableEntityObject)
Adds a list of entities to the document.
Public methodStatic memberCheckDxfFileVersion(Stream, Boolean)
Checks the AutoCAD DXF file database version.
Public methodStatic memberCheckDxfFileVersion(String, Boolean)
Checks the AutoCAD DXF file database version.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectByHandle
Gets a dxf object by its handle.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberLoad(Stream)
Loads a DXF file.
Public methodStatic memberLoad(String)
Loads a DXF file.
Public methodStatic memberLoad(Stream, IEnumerableString)
Loads a DXF file.
Public methodStatic memberLoad(String, IEnumerableString)
Loads a DXF file.
Public methodRemoveEntity(EntityObject)
Removes an entity from the document.
Public methodRemoveEntity(IEnumerableEntityObject)
Removes a list of entities from the document.
Public methodSave(Stream)
Saves the database of the actual DxfDocument to a text stream.
Public methodSave(String)
Saves the database of the actual DxfDocument to a text DXF file.
Public methodSave(Stream, Boolean)
Saves the database of the actual DxfDocument to a stream.
Public methodSave(String, Boolean)
Saves the database of the actual DxfDocument to a DXF file.
Public methodToString
Obtains a string that represents the DXF object.
(Inherited from DxfObject.)
Top
See Also