Carbon


CommentSpec

Header: PictUtils.h

Contains information about the comments in a picture.

struct CommentSpec {
    SInt16 count; 
    SInt16 ID;
};
typedef CommentSpec CommentSpecPtr;

Field descriptions

count

The number of times this kind of picture comment occurs in the picture specified to the GetPictInfo function or in all the pictures examined with the NewPictInfo function.

ID

The value set in the kind parameter when the picture comment was created with the PicComment function.

If you specify the structureComments constant in the verb parameter to the GetPictInfo function or the NewPictInfo function, you receive a PictInfo structure that includes in its commentHandle field a handle to an array of CommentSpec structures. The uniqueComments field of the PictInfo structure indicates the number of CommentSpec structures in this array.

When you are finished using the information returned in a CommentSpec structure, use the DisposeHandle function to dispose of the memory allocated to it.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)