Skip to main content

IDocumentViewModel Members

Provides settings to a document’s view model.

Properties

Name Description
CanChangePageSettings Indicates whether the document’s page settings can be changed.
CanStopPageBuilding Indicates whether document page building can be stopped.
DefaultExportFormat Specifies the default file format for exporting documents.
DefaultFileName Gets or sets the file name to which a document is exported by default.
DefaultSendFormat Specifies the default file format for emailing documents.
EditingFields Provides access to the document’s collection of editing fields.
HasBookmarks Indicates whether the document contains any bookmarks.
InitialDirectory Gets or sets the file path to which a document is exported by default.
IsCreated Indicates whether the document creation has been completed.
IsCreating Indicates whether the document creation is still in progress.
IsLoaded Indicates whether the document loading has completed.
Pages Provides access to the document’s collection of pages.
PageSettings Provides access to the document’s page settings.
PrintingSystem Provides access to the report’s Printing System that was used to generate the displayed document.
UseAsyncDocumentCreation
Watermarks

Methods

Name Description
CreateDocument() Starts generating a document’s pages.
Export(ExportOptionsViewModel) Exports the document using the specified export settings.
Print(PrintOptionsViewModel) Prints the document with the specified print settings.
PrintDirect(String) Sends the document to the specified printer.
Save(String) Saves the report document to the specified folder.
Scale(ScaleOptionsViewModel) Returns the options related to document scaling.
Send(SendOptionsViewModel) Returns the options related to emailing documents.
StopPageBuilding() Stops building the document pages.

Events

Name Description
DocumentCreated Fires on completing the document creation process.
DocumentException Fires when any exception occurs during the document processing.
StartDocumentCreation Fires on starting the document creation process.
See Also