![]() | InDesign SDK 20.5 |
#include <ILibraryAsset.h>

Public Types | |
| enum | { kDefaultIID = IID_ILIBRARYASSET } |
Public Member Functions | |
| virtual LibraryAssetID | GetID () const =0 |
| virtual UID | GetUID () const =0 |
| virtual ILibraryAssetCollection * | GetCollection ()=0 |
| virtual bool16 | HasWriteAccess () const =0 |
| virtual bool16 | AcquireWriteAccess ()=0 |
| virtual void | ReleaseWriteAccess ()=0 |
| virtual void | SetID (const LibraryAssetID &id)=0 |
| virtual void | SetCollection (ILibraryAssetCollection *assetCollection)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
The main interface to the LibraryAsset boss. Gets basic information about the asset and also controls write access.
| pure virtual |
Get exclusive write access to the asset. NOTE: Write access must be acquired before doing any operation that changes the asset.
| pure virtual |
Gets the asset collection this asset belongs to.
| pure virtual |
Get the ID number of this asset.
| pure virtual |
Get the asset UID.
| pure virtual |
Test for exclusive write access to the asset. NOTE: Write access must be acquired before doing any operation that changes the asset.
| pure virtual |
Release exclusive write access to the asset.
| pure virtual |
| pure virtual |