This property sets the size of the pan window in pixels

[C++Builder]   imagekitcontrolname.PanWindow.Size [ = short ]
[Delphi]   imagekitcontrolname.PanWindow.Size [ = Smallint ]

Property Value

The size of the pan window in pixels.

Explanation

The Size 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 Size 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 Size 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 Size property will apply to the width of the Pan Window.

The Size property corresponds to the Display Control's PanWindowSize property in earlier versions of the ImageKit.

Setting this value

This value can be set at runtime.

Retrieving this value

This value can be retrieved at runtime.

 

The ImageKit10 VCL is a product created by Newtone Corporation