The DocumentModel type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| DocumentModel |
Initializes a new instance of the DocumentModel class.
|
Methods
| Name | Description | |
|---|---|---|
| Clone |
Clones this DocumentModel instance.
| |
| ConvertToImageSource |
Converts single page specified in options of this DocumentModel instance to an ImageSource instance.
| |
| ConvertToXpsDocument |
Converts this DocumentModel instance to an XpsDocument instance.
| |
| GetChildElements(Boolean) |
Gets the child elements.
(Inherited from Element.) | |
| GetChildElements(Boolean, ElementType ) |
Gets the child elements filtered by ElementType.
(Inherited from Element.) | |
| GetPaginator |
Gets the document paginator.
| |
| Import T (T, Boolean) |
Imports (clones) the specified source element to this DocumentModel instance so it can be inserted into document content.
| |
| Import T (T, Boolean, Boolean) |
Imports (clones) the specified source element to this DocumentModel instance so it can be inserted into document content.
| |
| Load(Stream, LoadOptions) |
Loads a document from the specified stream.
| |
| Load(String, LoadOptions) |
Loads a document from a file with the specified path.
| |
Prints the document to the default printer.
| ||
| Print(String) |
Prints the document to the specified printer.
| |
| Print(String, PrintOptions) |
Prints the document to the specified printer according to specified options.
| |
| Save(String) |
Saves the document to a file with the specified path. Path must include file extension.
| |
| Save(Stream, SaveOptions) |
Saves the document in the specified stream.
| |
| Save(Object, String) |
Saves the document to a System.Web.HttpResponse output stream and sets appropriate HTTP response headers. Use this method in ASP.NET application to send the document to a client browser. File format is resolved from fileName extension. See remarks why httpResponse parameter is of type Object.
| |
| Save(String, SaveOptions) |
Saves the document to a file with the specified path.
| |
| Save(XmlWriter, HtmlSaveOptions) |
Save the document to HTML format using the specified writer.
| |
| Save(Object, String, SaveOptions) |
Saves the document to a System.Web.HttpResponse output stream and sets appropriate HTTP response headers. Use this method in ASP.NET application to send the document to a client browser. File format is defined with options parameter. See remarks why httpResponse parameter is of type Object.
|
Properties
| Name | Description | |
|---|---|---|
| Bookmarks |
Gets the document bookmarks.
| |
| DefaultCharacterFormat |
Gets or sets the default character format.
| |
| DefaultParagraphFormat |
Gets or sets the default paragraph format.
| |
| Document |
Gets the owner document.
(Inherited from Element.) | |
| DocumentProperties |
Gets the document properties.
| |
| ElementType |
Gets the ElementType of this Element instance.
(Overrides Element ElementType.) | |
| MailMerge |
Gets the object that exposes mail merge operations and options for a document.
| |
| Parent |
Gets the parent of this Element instance.
(Inherited from Element.) | |
| ParentCollection |
Gets the ElementCollection that contains this Element instance.
(Inherited from Element.) | |
| Sections |
Gets the document sections.
| |
| Styles |
Gets the document styles.
| |
| ViewOptions |
Gets or sets the document view options.
|
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IContentElement Content |
Gets a sequence of ElementCollections that are contained under this IContentElement.
|
See Also