AcMapMbMapBook::PublishToDwf Method

Land Desktop Development ARX CPP SDK

AcMapMbMapBook:: PublishToDwf Method
 

Publishes the specified tiles to the DWF file, if there are no tiles specified, publishes the entire Map Book.

Acad::ErrorStatus PublishToDwf(
    const AcArray<AcMapMbMapBookManager::TILEID>& tileIds, 
    const ACHAR* pszFileName
);
Parameters 
Description 
tileIds 
Input Ids of the tiles to be published; if the array is empty, the entire Map Book will be published.  
pszFileName 
Input the name of the DWF file to be created; if the file with this name already exists it will be overwritten.  
Returns

Returns Acad::eOk if successful; returns Acad::eDwgNeedsAFullSave if drawing must be saved; Acad::eNotCurrentDatabase in the case the Sheet Set is out of synch with the Map Book otherwise, returns a different error code.

Remarks

If the database has changed, the drawing must be saved before publishing.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].