Click or drag to resize

PDFDocSaveAsync Method

Overload List
  NameDescription
Public methodSaveAsync
Saves all changes incrementally to the document and writes them to the original source. Incremental saving is very fast, as it only appends data to the end of the file (and so is independent of the file size) This is suitable for quick save operations that you don't want to interrupt the user of the app.
Public methodSaveAsync(SDFDocSaveOptions)
Saves all changes incrementally document and writes them to the original source. Note that this might be slow, unless you are using the e_incremental flag only. Preferably shouldn't be used while the user is viewing the document. Saving with the e_incremental flag only will only append data, making the save fast no matter the original file size.
Public methodSaveAsync(String, SDFDocSaveOptions)
Saves all changes to the document and writes them to a file pointed by the given path.
Public methodSaveAsync(IStorageFile, SDFDocSaveOptions)
Saves all changes to the document and writes them to an IRandomAccessStream instance without using the saved document as the new source. Note, this will assume that randomAccessStream is pointing to a different location that the PDFDoc currently is. If this is not the case, the behavior is undefined and may corrupt the underlying document.
Public methodSaveAsync(IOutputStream, SDFDocSaveOptions)
Saves all changes to the document and writes them to an IOutputStream instance.
Public methodSaveAsync(IRandomAccessStream, SDFDocSaveOptions)
Saves all changes to the document and writes them to an IRandomAccessStream instance. Note, this save method will always create a copy of the document first, as it can no establish whether randomAccessStream is referring to the same location as the document, and so will make a copy for safety. If you know the location is different, then use SaveToNewLocationAsync.
Public methodSaveAsync(IFilter, SDFDocSaveOptions)
Saves all changes to the document and writes them to file specified by the IStorageFile instance without using the saved document as the new source. Note, this will assume that randomAccessStream is pointing to a different location that the PDFDoc currently is. If this is not the case, the behavior is undefined and may corrupt the underlying document.
Public methodSaveAsync(IRandomAccessStream, SDFDocSaveOptions, String)
Saves all changes to the document and writes them to an IRandomAccessStream instance. Note, this save method will always create a copy of the document first, as it can no establish whether randomAccessStream is referring to the same location as the document, and so will make a copy for safety. If you know the location is different, then use SaveToNewLocationAsync.
Top
See Also