| ImageGear Professional v18.2 > API Reference Guide > Formats Component API Reference > Formats Component Interfaces > IIGFormats Interface > IIGFormats Methods > LoadDocumentFromFile Method |
Loads the range of pages into the multi-page document from the disk file.
LoadDocumentFromFile(Document as IGDocument, FileName as
String, StartPageFile as Long, StartIndexDoc as Long, PageCount
as Long)
| Name | Description |
|---|---|
| Document | A document into which the specified pages must be loaded. |
| FileName | Location of the pages that must be loaded into the document. |
| StartPageFile | Zero-based start page index at the location for loading into the document. |
| StartIndexDoc | Zero-based start page index in the document. |
| PageCount | A count of pages to be loaded into the document. If PageCount = -1, then all pages starting from StartPageFile are loaded. |
N/A
N/A
Core