Click or drag to resize

Document Methods

The Document type exposes the following members.

Methods
  NameDescription
Public methodAddDocument
Add the body elements of parameter pDocument
Protected methodAddElementAtParagraph
Added a XML element at selection (add element at paragraph)
Protected methodAddMergeField
Add a merge field at selection
Public methodAddNewPage
Add a page break to body
Protected methodAddParagraph
Insert a paragraph at selection
Public methodAddTable
Append a table from a two-dimensional array (rows, columns)
Public methodAddText(String)
Add the text (parameter pText) to body
Protected methodAddText(OpenXmlElement, String, String, Boolean)
Add the text at selection
Public methodClose
Close the Open Document Format file
Public methodCode exampleCreate
Create a new document file from a template
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetPageBreakParagraph
Gives a page break paragraph back
Protected methodGetParagraph
Gives next of parent paragraph object. If not found then triggers an exception.
Protected methodGetSpace
Gives a space text object
Protected methodGetSymbolCharCheckbox
Gives checkbox symbol checked or unchecked
Protected methodGetSymbolCharCheckboxText
Gives a Run object with check box symbol.
Protected methodGetTable
Created a table object by parameters.
Protected methodGetText
Gives inner element text from Open XML Element include sub child elements
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Private methodOpen(String, Boolean, Types)
Open a Open Document Format via file
Private methodOpen(Byte, String, Boolean, Types)
Open a Open Document Format via stream
Public methodReplace
Replace text
Public methodSetCustomProperty
Write a custom document property
Public methodSetLanguage
Specifies the languages (be used to check spelling and grammar)
Public methodSetMergeFile
Sets merge file for document
Protected methodSetParagraphStyle
Set paragraph style
Public methodSetSpelling
Display visual Indication of spelling errors
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetObjectToBytes
Convert an object to byte array
(Defined by Extensions.)
Public Extension MethodIsNumber
Check is value a number
(Defined by Convert.)
Public Extension MethodToHTMLDisplay(DataGrid, TempDataDictionary)Overloaded. (Defined by Extensions.)
Public Extension MethodCode exampleToHTMLDisplay(String, DataGridDataTypes, String, String, String, String, TempDataDictionary)Overloaded.
Gives HTML code for display.
(Defined by Extensions.)
Public Extension MethodToHTMLEditor(DataGrid, TempDataDictionary, String)Overloaded. (Defined by Extensions.)
Public Extension MethodToHTMLEditor(String, DataGridDataTypes, String, String, String, TempDataDictionary, Boolean, String, DataPlacements, String, String)Overloaded.
Gives HTML code for Input field
(Defined by Extensions.)
Public Extension MethodCode exampleToHTMLHidden(String)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodToHTMLHidden(DataGrid)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodXMLWrite
Gives XML string from data item
(Defined by Helper.)
Top
See Also