Next Page > Hide TOC

IKSaveOptions Class Reference

Inherits from
Conforms to
Framework
System/Library/Frameworks/Quartz.framework/ImageKit.framework
Availability
Available in Mac OS X v10.5 and later.
Declared in
IKSaveOptions.h

Overview

The IKSaveOptions class initializes, adds, and manages user interface options for saving image data.

Tasks

Initializing and Adding Options

Retrieving User Settings

Instance Methods

addSaveOptionsAccessoryViewToSavePanel:

Adds a save options accessory view to a save panel.

- (void)addSaveOptionsAccessoryViewToSavePanel: (NSSavePanel*)savePanel;

Parameters
savePanel

The panel you want to extend.

Availability
Declared In
IKSaveOptions.h

imageProperties

Returns a dictionary of image properties that reflects the user’s selection.

- (NSDictionary *)imageProperties;

Return Value

A dictionary of updated image properties.

Availability
Declared In
IKSaveOptions.h

imageUTType

Returns the uniform type identifier that reflects the user’s selection.

- (NSString *)imageUTType;

Return Value

A string that specifies the uniform type identifier of the selection.

Availability
Declared In
IKSaveOptions.h

initWithImageProperties:imageUTType:

Initializes a save options accessory pane for the provided image properties and uniform type identifier.

- (id)initWithImageProperties: (NSDictionary*)imageProperties imageUTType: (NSString*)imageUTType;

Parameters
imageProperties

A dictionary of image properties.

imageUTType

A string that specifies a uniform type identifier, such as JPEG. See Uniform Type Identifiers Overview.

Return Value

The initialized object.

Availability
Declared In
IKSaveOptions.h

userSelection

Returns a dictionary that contains the save options selected by the user.

- (NSDictionary *)userSelection;

Return Value

A dictionary of save options.

Availability
Declared In
IKSaveOptions.h

Next Page > Hide TOC


© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-12-06)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.