Version: 1.0

Posted: 2006-08-01

Build Requirements: Leopard Preview

Runtime Requirements: Leopard Preview

View Source Code:

Download Sample (“IKImageViewDemo.zip”, 429.0K)
Download Sample (“IKImageViewDemo.dmg”, 463.0K)



Description

This small sample project shows how to use the ImagKit IKImageView to display a single image.

After launching, the user will get a window with a sample image displayed in an IKImageView.

The sample code shows how to handle zooming (zoom-out, zoom-in, zoom-to-actual-size, and zoom-to-fit).

The application uses segmented controls to work with the different tool modes (hand-tool, selection-tool, crop-tool, and rotation-tool).

For handling the 'Save as…', the sample code is using the new ImageKit IKSaveOptions to present a save panel accessory view that deals with different image settings.

Document Revision History

Date Notes
2006-08-01How to use the ImageKit IKImageView methods to display and manipulate an image.