Xceed Words for .NET v3.0 Documentation
Document Class Members
Properties  Methods 


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace : Document Class

The following tables list the members exposed by Document.

Public Properties
 NameDescription
Public PropertyGets the collection of Bookmarks in this Document.  
Public PropertyGets the collection of Charts in this Container. (Inherited from Xceed.Document.NET.Container)
Public PropertyGets the collection of CheckBoxes in this Document.  
Public PropertyGets the dictionary for the core properties in this Document.  
Public PropertyGets the dictionary for the CustomProperties in this Document.  
Public PropertyGets or sets if the first page of the first Section in this Document uses an independent Header and Footer.  
Public PropertyGets or sets if the even and odd pages of the Document use different Headers and Footers.  
Public Property Gets/sets the properties for endnotes in the first section of the document.  
Public PropertyGets the list of end notes in this Document.  
Public PropertyGets the Footers of the first Section in this Document.  
Public PropertyGets/sets the properties for footnotes in the first section of the document.  
Public PropertyGets the list of foot notes in this Document.  
Public PropertyGets the Headers of the first Section in this Document.  
Public PropertyGets the collection of Hyperlinks in this Container. (Inherited from Container)
Public PropertyGets or sets the document hyphenation object.  
Public PropertyGets the collection of Images in this Document.  
Public PropertyGets if this Document is password protected.  
Public PropertyGets if any editing restrictions are imposed on this Document.  
Public PropertyOverridden. Gets the collection of Lists in this Document.  
Public PropertyGets or sets the bottom margin (in points) of the first Section in this Document.  
Public PropertyGets or sets the footer margin (in points) of the first Section in this Document.  
Public PropertyGets or sets the header margin (in points) of the first Section in this Document.  
Public PropertyGets or sets the left margin (in points) of the first Section in this Document.  
Public PropertyGets or sets the right margin (in points) of the first Section in this Document.  
Public PropertyGets or sets the top margin (in points) of the first Section in this Document.  
Public PropertyGets or sets if the mirror margins option is enabled for the first Section in this Document.  
Public PropertyGets or sets the PackagePart for this element. (Inherited from Container)
Public PropertyGets or sets the background color to use for all the pages in the document.  
Public PropertyGets or sets the Borders to use for all the pages of the first Section in this Document.  
Public PropertyGets or sets the page height (in points) of the first Section in this Document.  
Public PropertyGets the PageLayout of the first Section in this Document.  
Public PropertyGets or sets the page width (in points) of the first Section in this Document.  
Public PropertyReturns a list of all the paragraph formatting styles found inside the document. This list includes all the styled run properties (bold, size, color...) but not the styled paragraph properties (spacing, borders, etc.).  
Public PropertyOverridden. Gets the collection of Paragraphs in this Document.  
Public Property (Inherited from Container)
Public PropertyGets the collection of Pictures in this Container. (Inherited from Container)
Public PropertyOverridden. Gets the cached list of Sections from this Document.  
Public PropertyGets the collection of Shapes in this Container. (Inherited from Container)
Public PropertyGets the list of all the SignatureLines contained in the document.  
Public PropertyOverridden. Gets the collection of Tables in this Document.  
Public PropertyGets the Text in this Document.  
Public PropertyGets the collection of TextBoxes in this Container. (Inherited from Container)
Public PropertyGets or sets the XML for this element. (Inherited from Container)
Top
Public Methods
 NameDescription
Public MethodUsed to construct the charts.  
Public MethodAdds a CheckBox to a Document.  
Public MethodAdds a core property to this document. If a core property already exists with the same name, it will be replaced. Core property names are case insensitive.  
Public MethodAdds a custom property to this document. If a custom property already exists with the same name, it will be replaced. CustomProperty names are case insensitive.  
Public MethodUsed to add a new endnote description in the document.  
Public MethodAdds three new Footers to the first Section of this Document . One for the first page, one for odd pages, and one for even pages.  
Public Method Used to add a new footnote description in the document.  
Public MethodAdds three new Headers to the first Section of this Document . One for the first page, one for odd pages, and one for even pages.  
Public MethodOverloaded. Adds a Hyperlink to a Document's Hyperlink collection.  
Public MethodOverloaded. Adds an Image to a Document.  
Public MethodOverloaded. Adds a List to a Document.  
Public Method

Protects the document from modifications by adding a protection password.

 
Public Method

Protects the document from modifications.

 
Public MethodAdds a Shape to a Document.  
Public MethodOverloaded. Adds a Table to a Document.  
Public MethodAdds a TextBox to a Document.  
Public MethodOverloaded. Applies a template to the Document.  
Public MethodRemoves all the Bookmarks from this Container. (Inherited from Xceed.Document.NET.Container)
Public MethodMakes a copy of the document.  
Public Method

Releases all resources used by this document.

 
Public MethodOverloaded. Retrieves all the indexes in this Container where the provided search value is found. (Inherited from Container)
Public MethodOverridden.   
Public MethodRetrieves the list of Bookmarks found in this Container. (Inherited from Container)
Public Method

Gets the number of pages in the document.

 
Public Methodstatic (Shared in Visual Basic)Retrieves the paragraph's style id from the document, using the provided style name.  
Public MethodReturns the type of editing protection imposed on this document.  
Public MethodReads the xml of the Container to create a list of Sections. (Inherited from Container)
Public MethodOverridden.   
Public MethodInserts a Bookmark to this Container. (Inherited from Container)
Public Method

Inserts a chart in the document.

 
Public MethodInserts a chart in the document after the specified paragraph.  
Public MethodInserts html text (with the html tags) or rtf text (with the rtf tags) in the Document. (Inherited from Container)
Public MethodInserts a default Table of Contents in the current document.  
Public MethodOverloaded. Inserts the content of a document at a given position inside a base document.  
Public MethodOverridden.   
Public MethodOverloaded. Overridden.   
Public MethodOverloaded. Overridden.   
Public Method

Inserts many paragraphs in the document using the text parameter. Each '\n' in the text parameter will create a new paragraph.

 
Public MethodOverloaded. Overridden. Inserts a Section in the Document by making a copy of the previous Section, and optionally track this change.  
Public MethodOverridden. Inserts a Section page break to the Document by making a copy of the previous Section, and optionally track this change.  
Public MethodOverloaded.   
Public MethodOverloaded. Inserts a table of contents to the document.  
Public MethodBase method for document to evaluate if a SignatureLine is signed. Returns false by default.  
Public MethodBase method for document to evaluate if a SignatureLine is signed and valid. Returns false by default.  
Public MethodRemoves the specified Bookmark from the Container. (Inherited from Container)
Public MethodRemoves a Paragraph from this Container. (Inherited from Container)
Public MethodRemoves the Paragraph found at a specific location from the Container. (Inherited from Container)
Public MethodRemoves the password protection on a Document.  
Public MethodRemoves the protection on a Document.  
Public MethodRemoves all text occurences that match the provided format. (Inherited from Container)
Public MethodReplaces the text at the specified Bookmark in this Container. (Inherited from Container)
Public MethodOverloaded. Overridden. Replaces all instances of a string with another string.  
Public MethodOverridden. 

Replaces all instances of a string with HTML content.

 
Public MethodOverridden. Replaces all instances of a string with an object using the options set via the replaceTextOptions parameter.  
Public MethodSaves the current Document.  
Public MethodOverloaded. Saves the current Document as a new Document.  
Public MethodSets the default font characteristics of the Document.  
Public MethodSets the Direction of the content of this Container. (Inherited from Container)
Public MethodSets a flag to true, so that when the saved document is opened with MS Word, a popup will appear to ask if the fields should be updated.  
Public MethodOverridden.   
Top
Protected Methods
See Also

Reference

Document Class
Xceed.Document.NET Namespace