Documentation
|
#include <FileFormat.h>
Public Member Functions | |
virtual | ~FileFormat () |
It is dispose. | |
Page^ | GetPage (int PageNum) |
It is used to get specified page from document. More... | |
Page^ | GetPage (int PageNum, PAGEINFO% pageInfo) |
array< Page^ >^ | GetPages (int From, int To) |
It is used to get multiple pages from document. More... | |
bool | Export (System::String^ fileName, OutputFileTypes fileType) |
It is used to export document. More... | |
bool | Export (System::String^ fileName, OutputFileTypes fileType, SAVEOPTION Option) |
Static Public Member Functions | |
static FileFormat^ | FromFile (String^ fileName) |
It is a static function which load file using its path. More... | |
static FileFormat^ | FromStream (Stream^ fileStream) |
It is a static function which load file using stream of file. More... | |
static FileFormat^ | FromUri (Uri^ fileUri) |
It is a static function which load file from remote loaction. More... | |
static bool | Merge (array< FileFormat^ >^docs, System::String^ filename, OutputFileTypes fileType) |
It is a static function which merge two or more document into one document. More... | |
static bool | Merge (Dictionary< FileFormat^ , int >^docMap, System::String^ filename, OutputFileTypes fileType) |
It is a static function which merge multipages document's specified pages into one document. More... | |
Static Public Attributes | |
static PlugInConnectorLib::ImageFactoryClass^ | factory =gcnew PlugInConnectorLib::ImageFactoryClass() |
Protected Attributes | |
int | m_Handle |
int | m_PageCount |
FileTypes | m_FileType |
Properties | |
bool | IsDocument [get] |
Use to check either it is a document or image . | |
FileTypes | FileType [get] |
Use to get documents type. | |
int | PageCount [get] |
Use to get total number of pages in document. | |
int | Handle [get] |
Use to get handle of document. | |
This is an abstract class and also used for saving & loading a file.
bool MST::Imaging::FileFormat::Export | ( | System::String^ | fileName, |
OutputFileTypes | fileType | ||
) |
It is used to export document.
fileName | path where document will be exported. |
fileType | Type of exported document. |
fileName | path where document will be exported. |
fileType | Type of exported document. |
Option | some oher option that will be used in advanced file exporting. |
|
static |
It is a static function which load file using its path.
fileName | Path of a file which will be loaded. |
|
static |
It is a static function which load file using stream of file.
fileStream | stream of a file which will be loaded. |
|
static |
It is a static function which load file from remote loaction.
fileUri | file path at remote location. |
Page MST::Imaging::FileFormat::GetPage | ( | int | PageNum | ) |
array< Page^ > MST::Imaging::FileFormat::GetPages | ( | int | From, |
int | To | ||
) |
It is used to get multiple pages from document.
From | start index. |
to | end index. |
|
static |
It is a static function which merge two or more document into one document.
docs | array of FileFormat which contains docs that will be merge together. |
filename | path where merged file will be saved. |
fileType | type of a file created after merging different files. |
|
static |
It is a static function which merge multipages document's specified pages into one document.
docMap | dictionary of FileFormat and pages of multipage document. |
filename | path where merged file will be saved. |
fileType | type of a file created after merging different files. |