Q3View_EndWriting
You can use theQ3View_EndWriting
function to end writing to a file.
TQ3ViewStatus Q3View_EndWriting (TQ3ViewObject view);
view
- A view.
DESCRIPTION
TheQ3View_EndWriting
function returns, as its function result, a view status value that indicates the current state of the writing in the view specified by theview
parameter.Q3View_EndWriting
returns one of these four values:
typedef enum TQ3ViewStatus { kQ3ViewStatusDone, kQ3ViewStatusRetraverse, kQ3ViewStatusError, kQ3ViewStatusCancelled } TQ3ViewStatus;IfQ3View_EndWriting
returnskQ3ViewStatusDone
, the writing has been completed and the specified view is no longer in writing mode. At that point, it is safe to exit your writing loop.If
Q3View_EndWriting
returnskQ3ViewStatusRetraverse
, the writing has not yet been completed. You should respecify the model by reentering your writing loop.If
Q3View_EndWriting
returnskQ3ViewStatusError
, the writing has failed because the renderer associated with the view encountered an error in processing the model. You should exit the writing loop.If
Q3View_EndWriting
returnskQ3ViewStatusCancelled
, the writing has been canceled. You should exit the writing loop.SPECIAL CONSIDERATIONS
You should callQ3View_EndWriting
only if writing is already occurring.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help