Share

AcApDocument

Class Hierarchy

AcRxObject
    AcApDocument

C++

class AcApDocument : public AcRxObject;

File

acdocman.h

Description

Each open drawing will have an associated AcApDocument object. The AcApDocument object contains information such as the filename, the MFC CDocument object, the current database, and the save format of the current drawing.

Additionally there are document lock status query functions. The two provided are: AcApDocument::lockMode(), which returns the most restrictive lock mode currently placed on the document from execution contexts other than the caller, and will thus determine what kind of lock, if any, you can now add to the document, and AcApDocument::myLockMode(), which returns the current lock status the current execution status has on the document, and can be either stronger or weaker than that returned by lockmode().

Links

AcApDocument Enumerations, AcApDocument Methods

See Also

AcDbDatabase

Was this information helpful?