This property sets the size of the pan window in pixels.

[Visual Basic] Public Property PWSize As Integer
[C#] public integer PWSize {get; set;}

Property Value

The size of the pan window in pixels

Explanation

The PWSize property sets the size of the pan window in pixels.

The display of the image in the Pan Window 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 Pan Window. 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 Pan Window.

See Also

ImageKit.PanWindow Members | Newtone.ImageKit.Win.ImageKit

The ImageKit.NET3 is created by Newtone Corporation