COM / ActiveX SDK Documentation  2022 SP0
Public Member Functions | Properties | List of all members
IAcadDocument Interface Reference

import"FxInterfaces.idl";

Inheritance diagram for IAcadDocument:

Public Member Functions

HRESULT Open ([in] BSTR FullName, [in, optional] VARIANT Password, [out, retval] IAcadDocument **pDocObj)
 
HRESULT AuditInfo ([in] VARIANT_BOOL FixErr)
 
HRESULT Import ([in] BSTR FileName, [in] VARIANT InsertionPoint, [in] double ScaleFactor, [out, retval] IDispatch **pObj)
 
HRESULT Export ([in] BSTR FileName, [in] BSTR Extension, [in] IAcadSelectionSet *SelectionSet)
 
HRESULT New ([in] BSTR TemplateFileName, [out, retval] IAcadDocument **pDocObj)
 
HRESULT Save ()
 
HRESULT SaveAs ([in] BSTR FullFileName, [in, optional] VARIANT SaveAsType, [in, optional] VARIANT vSecurityParams)
 
HRESULT Wblock ([in] BSTR FileName, [in] IAcadSelectionSet *SelectionSet)
 
HRESULT PurgeAll ()
 
HRESULT GetVariable ([in] BSTR Name, [out, retval] VARIANT *Value)
 
HRESULT SetVariable ([in] BSTR Name, [in] VARIANT Value)
 
HRESULT LoadShapeFile ([in] BSTR FullName)
 
HRESULT Regen ([in] AcRegenType WhichViewports)
 
HRESULT Activate ()
 
HRESULT Close ([in, optional] VARIANT SaveChanges, [in, optional] VARIANT FileName)
 
HRESULT SendCommand ([in] BSTR Command)
 
HRESULT StartUndoMark ()
 
HRESULT EndUndoMark ()
 
HRESULT StartTransaction ()
 
HRESULT EndTransaction ()
 
HRESULT AbortTransaction ()
 
HRESULT NumActiveTransactions ([out, retval] int *pTransaction)
 

Properties

IAcadPlot Plot [get]
 
IAcadLayer ActiveLayer [get, set]
 
IAcadLineType ActiveLinetype [get, set]
 
IAcadDimStyle ActiveDimStyle [get, set]
 
IAcadTextStyle ActiveTextStyle [get, set]
 
IAcadUCS ActiveUCS [get, set]
 
IAcadViewport ActiveViewport [get, set]
 
IAcadPViewport ActivePViewport [get, set]
 
AcActiveSpace ActiveSpace [get, set]
 
IAcadSelectionSets SelectionSets [get]
 
IAcadSelectionSet ActiveSelectionSet [get]
 
BSTR FullName [get]
 
BSTR Name [get]
 
BSTR Path [get]
 
VARIANT_BOOL ObjectSnapMode [get, set]
 
VARIANT_BOOL ReadOnly [get]
 
VARIANT_BOOL Saved [get]
 
VARIANT_BOOL MSpace [get, set]
 
IAcadUtility Utility [get]
 
IDispatch PickfirstSelectionSet [get]
 
VARIANT_BOOL Active [get]
 
AcWindowState WindowState [get, set]
 
int Width [get, set]
 
int Height [get, set]
 
IAcadLayout ActiveLayout [get, set]
 
long HWND [get]
 
BSTR WindowTitle [get]
 
IAcadApplication Application [get]
 
IAcadDatabase Database [get]
 

Detailed Description

Definition at line 816 of file FxInterfaces.idl.

Member Function Documentation

◆ AbortTransaction()

HRESULT IAcadDocument::AbortTransaction ( )

◆ Activate()

HRESULT IAcadDocument::Activate ( )

◆ AuditInfo()

HRESULT IAcadDocument::AuditInfo ( [in] VARIANT_BOOL  FixErr)

◆ Close()

HRESULT IAcadDocument::Close ( [in, optional] VARIANT  SaveChanges,
[in, optional] VARIANT  FileName 
)

◆ EndTransaction()

HRESULT IAcadDocument::EndTransaction ( )

◆ EndUndoMark()

HRESULT IAcadDocument::EndUndoMark ( )

◆ Export()

HRESULT IAcadDocument::Export ( [in] BSTR  FileName,
[in] BSTR  Extension,
[in] IAcadSelectionSet SelectionSet 
)

◆ GetVariable()

HRESULT IAcadDocument::GetVariable ( [in] BSTR  Name,
[out, retval] VARIANT *  Value 
)

◆ Import()

HRESULT IAcadDocument::Import ( [in] BSTR  FileName,
[in] VARIANT  InsertionPoint,
[in] double  ScaleFactor,
[out, retval] IDispatch **  pObj 
)

◆ LoadShapeFile()

HRESULT IAcadDocument::LoadShapeFile ( [in] BSTR  FullName)

◆ New()

HRESULT IAcadDocument::New ( [in] BSTR  TemplateFileName,
[out, retval] IAcadDocument **  pDocObj 
)

◆ NumActiveTransactions()

HRESULT IAcadDocument::NumActiveTransactions ( [out, retval] int *  pTransaction)

◆ Open()

HRESULT IAcadDocument::Open ( [in] BSTR  FullName,
[in, optional] VARIANT  Password,
[out, retval] IAcadDocument **  pDocObj 
)

◆ PurgeAll()

HRESULT IAcadDocument::PurgeAll ( )

◆ Regen()

HRESULT IAcadDocument::Regen ( [in] AcRegenType  WhichViewports)

◆ Save()

HRESULT IAcadDocument::Save ( )

◆ SaveAs()

HRESULT IAcadDocument::SaveAs ( [in] BSTR  FullFileName,
[in, optional] VARIANT  SaveAsType,
[in, optional] VARIANT  vSecurityParams 
)

◆ SendCommand()

HRESULT IAcadDocument::SendCommand ( [in] BSTR  Command)

◆ SetVariable()

HRESULT IAcadDocument::SetVariable ( [in] BSTR  Name,
[in] VARIANT  Value 
)

◆ StartTransaction()

HRESULT IAcadDocument::StartTransaction ( )

◆ StartUndoMark()

HRESULT IAcadDocument::StartUndoMark ( )

◆ Wblock()

HRESULT IAcadDocument::Wblock ( [in] BSTR  FileName,
[in] IAcadSelectionSet SelectionSet 
)

Property Documentation

◆ Active

VARIANT_BOOL IAcadDocument::Active
get

◆ ActiveDimStyle

IAcadDimStyle IAcadDocument::ActiveDimStyle
getset

◆ ActiveLayer

IAcadLayer IAcadDocument::ActiveLayer
getset

◆ ActiveLayout

IAcadLayout IAcadDocument::ActiveLayout
getset

◆ ActiveLinetype

IAcadLineType IAcadDocument::ActiveLinetype
getset

◆ ActivePViewport

IAcadPViewport IAcadDocument::ActivePViewport
getset

◆ ActiveSelectionSet

IAcadSelectionSet IAcadDocument::ActiveSelectionSet
get

◆ ActiveSpace

AcActiveSpace IAcadDocument::ActiveSpace
getset

◆ ActiveTextStyle

IAcadTextStyle IAcadDocument::ActiveTextStyle
getset

◆ ActiveUCS

IAcadUCS IAcadDocument::ActiveUCS
getset

◆ ActiveViewport

IAcadViewport IAcadDocument::ActiveViewport
getset

◆ Application

IAcadApplication IAcadDocument::Application
get

◆ Database

IAcadDatabase IAcadDocument::Database
get

◆ FullName

BSTR IAcadDocument::FullName
get

◆ Height

int IAcadDocument::Height
getsetattribute

◆ HWND

long IAcadDocument::HWND
get

◆ MSpace

VARIANT_BOOL IAcadDocument::MSpace
getset

◆ Name

BSTR IAcadDocument::Name
get

◆ ObjectSnapMode

VARIANT_BOOL IAcadDocument::ObjectSnapMode
getset

◆ Path

BSTR IAcadDocument::Path
get

◆ PickfirstSelectionSet

IDispatch IAcadDocument::PickfirstSelectionSet
get

◆ Plot

IAcadPlot IAcadDocument::Plot
get

◆ ReadOnly

VARIANT_BOOL IAcadDocument::ReadOnly
get

◆ Saved

VARIANT_BOOL IAcadDocument::Saved
get

◆ SelectionSets

IAcadSelectionSets IAcadDocument::SelectionSets
get

◆ Utility

IAcadUtility IAcadDocument::Utility
get

◆ Width

int IAcadDocument::Width
getsetbound

◆ WindowState

AcWindowState IAcadDocument::WindowState
getset

◆ WindowTitle

BSTR IAcadDocument::WindowTitle
get

The documentation for this interface was generated from the following file: