Skip to main content

IDocumentPreviewModel Members

When implemented by a class, enables it to use the document model.

Properties

Name Description
CurrentPageIndex Specifies the zero-based current page index.
CurrentPageNumber Specifies the current page number.
CursorService Specifies the service that is used to customize the mouse pointer settings on the client. Inherited from IPreviewModel.
DialogService Specifies the service that is used to invoke dialog windows on the client. Inherited from IPreviewModel.
DocumentMapRootNode For internal use. Gets the root node of the Document Map.
DocumentMapSelectedNode For internal use. Gets the currently selected node of the Document Map.
ExportCommand Exports the current document.
FirstPageCommand Navigates to the first page of the current document.
FoundBrickInfo For internal use. Required to highlight an element found using the Search option.
InputController Provides access to the input controller associated with the IPreviewModel. Inherited from IPreviewModel.
IsCreating Specifies whether a document is still being created. Inherited from IPreviewModel.
IsDocumentMapVisible Specifies whether the Document Map panel is visible.
IsEmptyDocument Gets the value specifying whether the document has any pages.
IsIncorrectPageContent Returns a value specifying whether the document page content is rendered correctly. Inherited from IPreviewModel.
IsLoading Specifies whether a document is still being loaded. Inherited from IPreviewModel.
IsParametersPanelVisible Specifies whether the Parameters panel is visible.
IsScaleVisible Gets the value indicating whether the Scale button is available in the Bar Manager of the Document Preview.
IsSearchVisible Gets the value indicating whether the Search command is accessible in a Document Preview.
LastPageCommand Navigates to the last page of the current document.
NextPageCommand Navigates to the next page of the current document.
OpenCommand Opens a document.
PageContent Provides access to the content of report pages. Inherited from IPreviewModel.
PageCount Gets a value indicating the total number of pages in a report document. Inherited from IPreviewModel.
PageSetupCommand Runs the Page Setup dialog for the current document.
PageViewHeight Gets a value indicating the height of a page as it appears on-screen. Inherited from IPreviewModel.
PageViewWidth Gets a value indicating the width of a page as it appears on-screen. Inherited from IPreviewModel.
ParametersModel Provides access to a collection of ParameterModel objects associated with the IDocumentPreviewModel class.
PreviousPageCommand Navigates to the previous page of the current document.
PrintCommand Prints the current document using the specified printer.
PrintDirectCommand Prints the current document using the default printer.
ProgressMarqueeVisibility Indicates the current visibility of the Marquee (Indeterminate) Progress Bar, which appears in the Document Preview while the document is being created.
ProgressMaximum Gets the maximum value of the Progress Reflector.
ProgressValue Gets a value which reflects the state of a process being tracked by the Progress Reflector.
ProgressVisibility Gets the current visibility of the Progress Bar, which appears in the Document Preview while the document is being created.
SaveCommand Saves the current document.
ScaleCommand Adjusts the scale of the current report.
SendCommand Exports and attaches the current document to an e-mail.
StopCommand Interrupts the document’s generation.
ToggleDocumentMapCommand Executes the command, which shows or hides the Document Map panel.
ToggleParametersPanelCommand Executes the command, which shows or hides the Parameters panel.
ToggleSearchPanelCommand Executes the command, which shows or hides the Search panel.
UseSimpleScrolling Specifies whether a simple scrolling mode should be used for the document. Inherited from IPreviewModel.
WatermarkCommand Runs the Watermark dialog for the current document.
Zoom Specifies the zoom factor of a report document. Inherited from IPreviewModel.
ZoomDisplayFormat Specifies the display format of available zoom factor values. Inherited from IPreviewModel.
ZoomDisplayText Specifies the display text for a zoom factor value. Inherited from IPreviewModel.
ZoomInCommand Increases the document zoom factor. Inherited from IPreviewModel.
ZoomMode Specifies the zooming mode that is applied to a report document. Inherited from IPreviewModel.
ZoomModes Provides access to a collection of zooming modes available for a report document. Inherited from IPreviewModel.
ZoomOutCommand Decreases the document zoom factor. Inherited from IPreviewModel.

Methods

Name Description
HandlePreviewDoubleClick(MouseEventArgs, FrameworkElement) For internal use. Inherited from IPreviewModel.
HandlePreviewMouseLeftButtonDown(MouseButtonEventArgs, FrameworkElement) For internal use. Inherited from IPreviewModel.
HandlePreviewMouseLeftButtonUp(MouseButtonEventArgs, FrameworkElement) For internal use. Inherited from IPreviewModel.
HandlePreviewMouseMove(MouseEventArgs, FrameworkElement) For internal use. Inherited from IPreviewModel.
SetZoom(Double) Applies the specified zoom factor value to a document. Inherited from IPreviewModel.

Events

Name Description
PreviewClick Occurs when the left mouse button is clicked in the document area in a Document Preview.
PreviewDoubleClick Occurs when the left mouse button is double-clicked in the document area in a Document Preview.
PreviewMouseMove Occurs when the mouse cursor moves over the document area in a Document Preview.
PropertyChanged Occurs when a property value changes. Inherited from INotifyPropertyChanged.
See Also