SetViewType
TheSetViewTypemethod assigns the specified view type to this frame.
void SetViewType (in ODTypeToken viewType);
viewType- A tokenized string representing the view type to assign to this frame.
DISCUSSION
TheviewTypeparameter must be the tokenized form of one of the view-type constants (kODViewAsFrame,kODViewAsSmallIcon,kODViewAsLargeIcon, orkODViewAsThumbnail). You can call the session object'sTokenizemethod to obtain a token corresponding to one of these constants.Your part calls its display frame's
SetViewTypemethod.EXCEPTIONS
kODErrIllegalNullTokenInput- The
viewTypeparameter is null.SEE ALSO
TheODTypeTokentype (page 877).
TheODFrame::ChangeViewTypemethod (page 313).
TheODFrame::GetViewTypemethod (page 324).
TheODSession::Tokenizemethod (page 622).
Listing 2-9 on page 54 in OpenDoc Cookbook.
"View Type" on page 155 in OpenDoc Programmer's Guide.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help