Document Methods |
The Document type exposes the following members.
Name | Description | |
---|---|---|
AddDocument |
Add the body elements of parameter pDocument | |
AddElementAtParagraph |
Added a XML element at selection (add element at paragraph)
| |
AddMergeField |
Add a merge field at selection
| |
AddNewPage |
Add a page break to body
| |
AddParagraph |
Insert a paragraph at selection
| |
AddTable |
Append a table from a two-dimensional array (rows, columns)
| |
AddText(String) |
Add the text (parameter pText) to body
| |
AddText(OpenXmlElement, String, String, Boolean) |
Add the text at selection
| |
Close |
Close the Open Document Format file
| |
Create |
Create a new document file from a template
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetPageBreakParagraph |
Gives a page break paragraph back
| |
GetParagraph |
Gives next of parent paragraph object. If not found then triggers an exception.
| |
GetSpace |
Gives a space text object
| |
GetSymbolCharCheckbox |
Gives checkbox symbol checked or unchecked
| |
GetSymbolCharCheckboxText |
Gives a Run object with check box symbol.
| |
GetTable |
Created a table object by parameters.
| |
GetText |
Gives inner element text from Open XML Element include sub child elements
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Open(String, Boolean, Types) |
Open a Open Document Format via file
| |
Open(Byte, String, Boolean, Types) |
Open a Open Document Format via stream
| |
Replace |
Replace text
| |
SetCustomProperty |
Write a custom document property
| |
SetLanguage |
Specifies the languages (be used to check spelling and grammar)
| |
SetMergeFile |
Sets merge file for document
| |
SetParagraphStyle |
Set paragraph style
| |
SetSpelling |
Display visual Indication of spelling errors
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |