Click or drag to resize
DOCDocument Class
A class that represents a DOC document
Inheritance Hierarchy
SystemObject
  RasterEdge.Imaging.BasicBaseDocument
    RasterEdge.Imaging.MSWordDocxDOCDocument

Namespace: RasterEdge.Imaging.MSWordDocx
Assembly: RasterEdge.Imaging.MSWordDocx (in RasterEdge.Imaging.MSWordDocx.dll) Version: 9.8.0.50811 (9.8.0.50811)
Syntax
public class DOCDocument : BaseDocument

The DOCDocument type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAddPage
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 methodAddPages
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 methodAppendDocument (Overrides BaseDocumentAppendDocument(BaseDocument).)
Public methodBurnAnnotation (Overrides BaseDocumentBurnAnnotation.)
Public methodClone (Overrides BaseDocumentClone.)
Public methodConvertToDocument(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 methodConvertToDocument(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 methodConvertToDocument(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 methodConvertToImages(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 methodConvertToImages(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 methodConvertToImages(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 methodConvertToImages(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 methodConvertToImages(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 methodConvertToImages(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 methodConvertToVectorImages
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 methodDeletePage
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 methodDeletePages
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 methodDispose
Releases all resources used by the DOCDocument
(Overrides BaseDocumentDispose.)
Public methodDuplicatePage (Overrides BaseDocumentDuplicatePage(Int32).)
Public methodExtractPages(Int32, Stream)
Extracts pages from a document, form a new document and save it to a stream.
(Overrides BaseDocumentExtractPages(Int32, Stream).)
Public methodExtractPages(Int32, String)
Extracts pages from a document, form a new document and save it to a file.
(Overrides BaseDocumentExtractPages(Int32, String).)
Public methodGetCharsRectangle (Overrides BaseDocumentGetCharsRectangle(Int32).)
Public methodGetDocumentType (Overrides BaseDocumentGetDocumentType.)
Public methodGetHyperlink (Overrides BaseDocumentGetHyperlink.)
Public methodGetNewPage
Create one new page
(Overrides BaseDocumentGetNewPage.)
Public methodGetOutline (Overrides BaseDocumentGetOutline.)
Public methodGetPage
Gets page form the page pool with the specified index.
(Overrides BaseDocumentGetPage(Int32).)
Public methodGetPageCount
Gets the number page contained in the document.
(Overrides BaseDocumentGetPageCount.)
Public methodInsertPage
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 methodInsertPages
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 methodIsPageExist
Determines if the page with specified index exists.
(Overrides BaseDocumentIsPageExist(Int32).)
Public methodIsPageLoaded
Determins if the page with specified index is loaded with content.
(Overrides BaseDocumentIsPageLoaded(Int32).)
Public methodSave (Overrides BaseDocumentSave(String).)
Public methodSaveToBytes
Unimplemented Method.
(Overrides BaseDocumentSaveToBytes.)
Public methodSaveToStream
Unimplemented Method.
(Overrides BaseDocumentSaveToStream(Stream).)
Public methodSetOutline (Overrides BaseDocumentSetOutline(REOutline).)
Public methodSortPage
Sorts the pages according to the page order. Throw an exception in condition: 1. index error.
(Overrides BaseDocumentSortPage(Int32).)
Public methodStatic memberStart
Public methodSwapTwoPages
Swaps the order of two pages. Throw an exception in condition: 1. index error.
(Overrides BaseDocumentSwapTwoPages(Int32, Int32).)
Public methodUpdatePage
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
Events
See Also