Maptitude GISDK Help

SetWindowSizePixels()

Summary

Sets the size of the specified or currently active window.

 

Syntax

SetWindowSizePixels(string window_name, integer width, integer height)

 

Argument Contents
window_name String of the form "window type|window name," or "window name" if the window name is unique among the window types, or null for the current window
width The width of the window in pixels
height The height of the window in pixels

 

Notes

Example

SetWindowSizePixels("Map|First Map", 400, 200)

 

Error Codes

Error Type Meaning
NotFound There is no window of the designated type and name

 

See Also

Function Summary
GetAbsoluteWindowSize() Determines the absolute size of a window in inches
GetWindowSize() Determines the size of a window
SetWindowSize() Sets the size of the specified or currently active window

 

 

©2025 Caliper Corporation www.caliper.com