AcMapMbTile::GetTileSize Method

Land Desktop Development ARX CPP SDK

AcMapMbTile:: GetTileSize Method
 

Returns the size of the tile.

virtual Acad::ErrorStatus GetTileSize(
    double& dWidth, 
    double& dHeight
) const;
Parameters 
Description 
dWidth 
Output width of the tile.  
dHeight 
Output height of the tile.  
Returns

Returns Acad::eOk if successful; otherwise, returns a different error code.

Remarks

This also typically indicates the size of the Reference object, however reference objects may have sizes different from the extents. For instance, if the reference objects are used to set the names of the tiles in a mapbook, they may not be the same size, or even rectangular polylines, but the tiles will be calculated to be the correct size based on the template and map scale. For a grid tiling where the sizes of the tiles are calculated, but there may be an overlap specified, this is the size of the grid elements and does not include the overlap. Get and Set ViewPortSize includes the overlap.

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].