| ImageGear Professional v18.2 > API Reference Guide > Formats Component API Reference > Formats Component Interfaces > IIGFormats Interface > IIGFormats Methods > SaveDocumentToFile Method |
Saves a range of the document pages to the disk file.
SaveDocumentToFile(Document as IGDocument, FileName as String,
StartPageFile as Long, StartIndexDoc as Long, PageCount as Long,
Mode as enumIGDocSaveModes, SaveFormat as enumIGSaveFormats)
| Name | Description |
|---|---|
| Document | A document to be saved |
| FileName | Name of the disk file to which to save the document |
| StartPageFile | Zero-based start page index at the location |
| StartIndexDoc | Zero-based start page index in the document |
| PageCount | A count of pages to be saved |
| Mode | Document saving mode. Can be `default', `overwrite', `append', `insert', `replace' |
| SaveFormat | A file format to which to save document |
N/A
N/A
Core