AcMapMbTile::GetTileSize Method
From Land Desktop Development ARX CPP SDK
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 Acad::eOk if successful; otherwise, returns a different error code.
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.