| << Click to Display Table of Contents >> Navigation: Command Reference > List of Commands > SetCurrentWindowsDrawingSize | 
Sets width and length of the current drawing window in screen pixels. The minimal value of the window width is 132px; the minimal value of the window height is 38px.
Step1. Command: SetCurrentWindowsDrawingSize
Step2. Enter drawing window width: enter the current drawing window width in screen pixels.
Step3. Enter drawing window height: enter the current drawing window height in screen pixels.

| Call of the command via XML API | 
To set a 500px window width and a 250px window height execute the following XML:
<?xml version="1.0" encoding="UTF-8"?>
<cadsofttools version="2">
  <command text="SetCurrentWindowsDrawingSize 500 250"/>
</cadsofttools>     
Go to ABViewer