Maptitude GISDK Help

CenterLayout()

Summary

Centers a layout at a specific point.

 

Syntax

CenterLayout(string layout_name, coord center)

 

Argument Contents
layout_name The name of the layout, or null for the current layout
center The point at which to center the layout

 

Example

CenterLayout("My Layout", Coord(425, 550))

 

Error Codes

Error Type Meaning
NotFound There is no layout with the specified name, or layout_name is null and there is no layout window

 

See Also

Function Summary
SetVisibleRectangle() Controls the portion of a layout that is displayed in a layout window
ZoomLayout() Changes the layout scale by a factor.

 

 

©2025 Caliper Corporation www.caliper.com