Instance Method
save(to:format:context:) saveToFile:format:context:error: saveToFile_format_context_error_
Saves the alignment zone to a file with the specified format version.
Declaration
func save(to file: UnsafeMutablePointer<FILE>, format formatVersion: GSFormatVersion, context: GSSaveContext?) throwsDeclaration
- (BOOL) saveToFile:(FILE *) file format:(GSFormatVersion) formatVersion context:(GSSaveContext *) context error:(NSError **) error;Declaration
saveToFile_format_context_error_(file: FILE, formatVersion: GSFormatVersion, context: GSSaveContext) -> tuple[bool, NSError]Parameters
fileThe file to save to.
formatVersionThe format version to use for saving.
Parameters
fileThe file to save to.
formatVersionThe format version to use for saving.
errorA pointer to an NSError object to store any error that occurs.
Return Value
YES if the save operation is successful, NO otherwise.