This property sets the size of the PanWindow in pixels.
Property Value
The size of the PanWindow in pixels
Explanation
The PWSize property sets the size of the PanWindow in pixels.
The display of the image in the PanWindow is scaled by taking the longer of either the height or width dimension of the image and scaling that dimension to fit within the size specified in the PWSize property. The other dimension will then be scaled to maintain the original image height to width ratio. Therefore, if the height of the image is the longer than the width, then the value set in the PWSize property will apply to the height of the PanWindow. If the width of the image is the longer than the height, then the value set in the PWSize property will apply to the width of the PanWindow.