DocumentModel MembersGemBox.Document Help

The DocumentModel type exposes the following members.
Constructors

  NameDescription
Public methodDocumentModel
Initializes a new instance of the DocumentModel class.
Back to Top
Methods

  NameDescription
Public methodClone
Clones this DocumentModel instance.
Public methodConvertToImageSource
Converts single page specified in options of this DocumentModel instance to an ImageSource instance.
Public methodConvertToXpsDocument
Converts this DocumentModel instance to an XpsDocument instance.
Public methodGetChildElements(Boolean)
Gets the child elements.
(Inherited from Element.)
Public methodGetChildElements(Boolean,  ElementType )
Gets the child elements filtered by ElementType.
(Inherited from Element.)
Public methodGetPaginator
Gets the document paginator.
Public methodImport T (T, Boolean)
Imports (clones) the specified source element to this DocumentModel instance so it can be inserted into document content.
Public methodImport T (T, Boolean, Boolean)
Imports (clones) the specified source element to this DocumentModel instance so it can be inserted into document content.
Public methodStatic memberLoad(Stream, LoadOptions)
Loads a document from the specified stream.
Public methodStatic memberLoad(String, LoadOptions)
Loads a document from a file with the specified path.
Public methodPrint 
Prints the document to the default printer.
Public methodPrint(String)
Prints the document to the specified printer.
Public methodPrint(String, PrintOptions)
Prints the document to the specified printer according to specified options.
Public methodSave(String)
Saves the document to a file with the specified path. Path must include file extension.
Public methodSave(Stream, SaveOptions)
Saves the document in the specified stream.
Public methodSave(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.
Public methodSave(String, SaveOptions)
Saves the document to a file with the specified path.
Public methodSave(XmlWriter, HtmlSaveOptions)
Save the document to HTML format using the specified writer.
Public methodSave(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.
Back to Top
Properties

  NameDescription
Public propertyBookmarks
Gets the document bookmarks.
Public propertyDefaultCharacterFormat
Gets or sets the default character format.
Public propertyDefaultParagraphFormat
Gets or sets the default paragraph format.
Public propertyDocument
Gets the owner document.
(Inherited from Element.)
Public propertyDocumentProperties
Gets the document properties.
Public propertyElementType
Gets the ElementType of this Element instance.
(Overrides Element ElementType.)
Public propertyMailMerge
Gets the object that exposes mail merge operations and options for a document.
Public propertyParent
Gets the parent of this Element instance.
(Inherited from Element.)
Public propertyParentCollection
Gets the ElementCollection that contains this Element instance.
(Inherited from Element.)
Public propertySections
Gets the document sections.
Public propertyStyles
Gets the document styles.
Public propertyViewOptions
Gets or sets the document view options.
Back to Top
Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate propertyIContentElement Content
Gets a sequence of ElementCollections that are contained under this IContentElement.
Back to Top
See Also