Click or drag to resize
DOCDocument Methods

The DOCDocument type exposes the following members.

Methods
  Name Description
Public method AddPage
Appends a new page to the end of the document. Throw an exception in condition: 1. page type is conflict to the document type.
(Overrides BaseDocumentAddPage(BasePage).)
Public method AddPages
Appends the pages to the end of the document. Throw an exception in condition: 1. page type is conflict to the document type.
(Overrides BaseDocumentAddPages(BasePage).)
Public method AppendDocument (Overrides BaseDocumentAppendDocument(BaseDocument).)
Public method BurnAnnotation (Overrides BaseDocumentBurnAnnotation.)
Public method Clone (Overrides BaseDocumentClone.)
Public method ConvertToDocument(DocumentType, Stream)
Converts document to the target file format and saves it into a stream. Throw an exception in condition: 1: the target document type has not been developed yet. 2: the required assembly has not been added.
(Overrides BaseDocumentConvertToDocument(DocumentType, Stream).)
Public method ConvertToDocument(DocumentType, String)
Converts document to the target file format and saves it to a file on the local disk. Throw an exception in condition: 1: the target document type has not been developed yet. 2: the required assembly has not been added.
(Overrides BaseDocumentConvertToDocument(DocumentType, String).)
Public method ConvertToDocument(DocumentType, Single, String)
Converts document to the target file format with with sepcified zoom value and saves it to a file on the local disk. Throw an exception in condition: 1: the target document type has not been developed yet. 2: the required assembly has not been added. 3: the zoom value is out of 10% ~ 2000%.
(Overrides BaseDocumentConvertToDocument(DocumentType, Single, String).)
Public method ConvertToImages(ImageType, Stream)
Converts document to images with specified type, one image per page, and store each image into a stream. Throw an exception in condition: 1. the required assembly has not been added. 2. invalid resolution or zoom value input. Default: zoom value = 1, resolution = 96 dpi.
(Overrides BaseDocumentConvertToImages(ImageType, Stream).)
Public method ConvertToImages(ImageType, Int32, Stream)
Converts document to images with specified type and resolution, one image per page, and store each image into a stream. Throw an exception in condition: 1. the required assembly has not been added. 2. invalid resolution or zoom value input. Default: zoom value = 1, resolution = 96 dpi.
(Overrides BaseDocumentConvertToImages(ImageType, Int32, Stream).)
Public method ConvertToImages(ImageType, Single, Stream)
Converts document to images with specified type and zoom value, one image per page, and store each image into a stream. Throw an exception in condition: 1. the required assembly has not been added. 2. invalid resolution or zoom value input. Default: zoom value = 1, resolution = 96 dpi.
(Overrides BaseDocumentConvertToImages(ImageType, Single, Stream).)
Public method ConvertToImages(ImageType, String, String)
Converts document to images with sepcified type, one image per page, and store the image under a local file directory. Throw an exception in condition: 1. the required assembly has not been added. 2. invalid resolution or zoom value input. Default: zoom value = 1, resolution = 96 dpi.
(Overrides BaseDocumentConvertToImages(ImageType, String, String).)
Public method ConvertToImages(ImageType, Int32, String, String)
Converts document to images with sepcified type and resolution, one image per page, and store the image under a local file directory. Throw an exception in condition: 1. the required assembly has not been added. 2. invalid resolution or zoom value input. Default: zoom value = 1, resolution = 96 dpi.
(Overrides BaseDocumentConvertToImages(ImageType, Int32, String, String).)
Public method ConvertToImages(ImageType, Single, String, String)
Converts document to images with sepcified type and zoom value, one image per page, and store the image under a local file directory. Throw an exception in condition: 1. the required assembly has not been added. 2. invalid resolution or zoom value input. Default: zoom value = 1, resolution = 96 dpi.
(Overrides BaseDocumentConvertToImages(ImageType, Single, String, String).)
Public method ConvertToVectorImages
Converts document to the target type file format with sepcified file name and saves it to a file on the local disk. Throw an exception in condition: 1: the target context type has not been developed yet. 2: the required assembly has not been added.
(Overrides BaseDocumentConvertToVectorImages(ContextType, String, String, RelativeType).)
Public method DeletePage
Deletes an exist page at the specified page index. Throw an exception in condition: 1. page offset is out of range.
(Overrides BaseDocumentDeletePage(Int32).)
Public method DeletePages
Deletes pages at the specified pageoffset, the number to delete is the pageCount. Throw an exception in condition: 1. page offset is out of range.
(Overrides BaseDocumentDeletePages(Int32, Int32).)
Public method Dispose (Overrides BaseDocumentDispose.)
Public method DuplicatePage (Overrides BaseDocumentDuplicatePage(Int32).)
Public method ExtractPages(Int32, Stream)
Extracts pages from a document, form a new document and save it to a stream.
(Overrides BaseDocumentExtractPages(Int32, Stream).)
Public method ExtractPages(Int32, String)
Extracts pages from a document, form a new document and save it to a file.
(Overrides BaseDocumentExtractPages(Int32, String).)
Public method GetCharsRectangle (Overrides BaseDocumentGetCharsRectangle(Int32).)
Public method GetDocumentType (Overrides BaseDocumentGetDocumentType.)
Public method GetHyperlink (Overrides BaseDocumentGetHyperlink.)
Public method GetNewPage
Create one new page
(Overrides BaseDocumentGetNewPage.)
Public method GetOutline (Overrides BaseDocumentGetOutline.)
Public method GetPage
Gets page form the page pool with the specified index.
(Overrides BaseDocumentGetPage(Int32).)
Public method GetPageCount
Gets the number page contained in the document.
(Overrides BaseDocumentGetPageCount.)
Public method InsertPage
Insert a new page at the specified page offset. Appends the page to the end of the document if the offset is out of range. Throw an exception in condition: 1. page type is conflict to the document type.
(Overrides BaseDocumentInsertPage(BasePage, Int32).)
Public method InsertPages
Insert the pages at the specified page offset. Appends the pages to the end of the document if the offset is out of range. Throw an exception in condition: 1. page type is conflict to the document type.
(Overrides BaseDocumentInsertPages(BasePage, Int32).)
Public method IsPageExist
Determines if the page with specified index exists.
(Overrides BaseDocumentIsPageExist(Int32).)
Public method IsPageLoaded
Determins if the page with specified index is loaded with content.
(Overrides BaseDocumentIsPageLoaded(Int32).)
Public method Save (Overrides BaseDocumentSave(String).)
Public method SaveToBytes
Unimplemented Method.
(Overrides BaseDocumentSaveToBytes.)
Public method SaveToStream
Unimplemented Method.
(Overrides BaseDocumentSaveToStream(Stream).)
Public method SetOutline (Overrides BaseDocumentSetOutline(REOutline).)
Public method SortPage
Sorts the pages according to the page order. Throw an exception in condition: 1. index error.
(Overrides BaseDocumentSortPage(Int32).)
Public method Static member Start
Public method SwapTwoPages
Swaps the order of two pages. Throw an exception in condition: 1. index error.
(Overrides BaseDocumentSwapTwoPages(Int32, Int32).)
Public method UpdatePage
Updates the old page with new page. Throw an exception in condition: 1. the new page is not in accordance with the document type.
(Overrides BaseDocumentUpdatePage(BasePage, Int32).)
Top
See Also