Skip to main content
A newer version of this page is available. .

LegacyLinkPreviewModel Members

Obsolete. Obsolete. Provides the Preview Model functionality for printing Windows Forms controls in WPF applications.

Constructors

Name Description
LegacyLinkPreviewModel() Initializes a new instance of the LegacyLinkPreviewModel class with default settings.
LegacyLinkPreviewModel(ILink) Initializes a new instance of the LegacyLinkPreviewModel class with the specified link.

Properties

Name Description
CurrentPageIndex Specifies the zero-based current page index. Inherited from DocumentPreviewModelBase.
CurrentPageNumber Specifies the current page number. Inherited from DocumentPreviewModelBase.
CursorService Specifies the service that is used to customize the mouse pointer settings on the client. Inherited from PreviewModelBase.
DialogService

Specifies the service that is used to invoke dialog windows on the client. An object implementing the IDialogService interface.

Inherited from PreviewModelBase.
DocumentMapRootNode For internal use. Specifies the root node for the report’s Document Map. Inherited from PrintingSystemPreviewModel.
DocumentMapSelectedNode For internal use. Gets the currently selected node of the Document Map. Inherited from DocumentPreviewModelBase.
ExportCommand Exports the current document. Inherited from DocumentPreviewModelBase.
FirstPageCommand Navigates to the first page of the current document. Inherited from DocumentPreviewModelBase.
FoundBrickInfo For internal use. Required to highlight an element found using the Search option. Inherited from DocumentPreviewModelBase.
InputController Provides access to the input controller associated with the DocumentPreviewModelBase. Inherited from DocumentPreviewModelBase.
IsCreating Gets a value indicating whether or not the document is being created. Inherited from PrintingSystemPreviewModel.
IsDocumentMapVisible Specifies whether or not the Document Map panel is visible. Inherited from DocumentPreviewModelBase.
IsEmptyDocument Gets the value specifying whether or not the document has any pages.
IsIncorrectPageContent Returns a value specifying whether or not the document page content is rendered correctly. Inherited from PreviewModelBase.
IsLoading Specifies whether or not a document is still being loaded. Inherited from PreviewModelBase.
IsOpenButtonVisible Gets the value indicating whether or not the Open button is available in the Bar Manager of the Document Preview. Inherited from DocumentPreviewModelBase.
IsParametersPanelVisible Specifies whether or not the Parameters panel is visible. Inherited from DocumentPreviewModelBase.
IsSaveButtonVisible Gets the value indicating whether or not the Save button is available in the Bar Manager of the Document Preview. Inherited from DocumentPreviewModelBase.
IsScaleVisible Gets the value indicating whether or not the Scale button is available in the Bar Manager of the Document Preview. Inherited from PrintingSystemPreviewModel.
IsSearchPanelVisible Specifies whether or not the Search panel is visible in Document Preview. Inherited from DocumentPreviewModelBase.
IsSearchVisible Specifies whether or not the Search command is accessible in a Document Preview. Inherited from PrintingSystemPreviewModel.
IsSendVisible Gets the value indicating whether or not the Send via e-mail… button is available in the Bar Manager of the Document Preview. Inherited from DocumentPreviewModelBase.
IsSetWatermarkVisible Specifies whether or not the Watermark button is visible. Inherited from DocumentPreviewModelBase.
LastPageCommand Navigates to the last page of the current document. Inherited from DocumentPreviewModelBase.
Link Specifies the link that is associated with this LegacyLinkPreviewModel.
NextPageCommand Navigates to the next page of the current document. Inherited from DocumentPreviewModelBase.
OpenCommand Opens a document. Inherited from DocumentPreviewModelBase.
PageCacheSize Specifies the maximum memory cache size that a document page is allowed to have. Inherited from PrintingSystemPreviewModel.
PageContent Provides access to the content of report pages. Inherited from PreviewModelBase.
PageCount Specifies the number of pages in the report document shown in the Preview Model. Inherited from PrintingSystemPreviewModel.
PageSetupCommand Runs the Page Setup dialog for the current document. Inherited from DocumentPreviewModelBase.
PageViewHeight Gets a value indicating the height of a page as it appears on-screen. Inherited from PreviewModelBase.
PageViewWidth Gets a value indicating the width of a page as it appears on-screen. Inherited from PreviewModelBase.
ParametersModel Provides access to a collection of ParameterModel objects associated with the LegacyLinkPreviewModel class.
PreviousPageCommand Navigates to the previous page of the current document. Inherited from DocumentPreviewModelBase.
PrintCommand Prints the current document using the specified printer. Inherited from DocumentPreviewModelBase.
PrintDirectCommand Prints the current document using the default printer. Inherited from DocumentPreviewModelBase.
ProgressMarqueeVisibility Indicates the current visibility of the Marquee (Indeterminate) Progress Bar, which appears in the Document Preview while the document is being created. Inherited from PrintingSystemPreviewModel.
ProgressMaximum Specifies the maximum absolute value shown in the Progress Bar, which appears in the Print Preview while the document is being created. Inherited from PrintingSystemPreviewModel.
ProgressValue Gets the current progress value shown in the Progress Bar, which appears in the Print Preview while the document is being created. Inherited from PrintingSystemPreviewModel.
ProgressVisibility Gets the current visibility of the Progress Bar, which appears in the Print Preview while the document is being created. Inherited from PrintingSystemPreviewModel.
SaveCommand Saves the current document. Inherited from DocumentPreviewModelBase.
ScaleCommand Adjusts the scale of the current report. Inherited from DocumentPreviewModelBase.
SendCommand Exports and attaches the current document to an e-mail. Inherited from DocumentPreviewModelBase.
StopCommand Interrupts the document’s generation. Inherited from DocumentPreviewModelBase.
ToggleDocumentMapCommand Executes the command, which shows or hides the Document Map panel. Inherited from DocumentPreviewModelBase.
ToggleParametersPanelCommand Executes the command, which shows or hides the Parameters panel. Inherited from DocumentPreviewModelBase.
ToggleSearchPanelCommand Executes the command, which shows or hides the Search panel. Inherited from DocumentPreviewModelBase.
UseSimpleScrolling Specifies whether or not a simple scrolling mode should be used for the document. Inherited from PreviewModelBase.
WatermarkCommand Shows the Watermark dialog. Inherited from DocumentPreviewModelBase.
Zoom Specifies the zoom factor of a report document. Inherited from PreviewModelBase.
ZoomDisplayFormat Specifies the display format of available zoom factor values. Inherited from PreviewModelBase.
ZoomDisplayText Specifies the display text for a zoom factor value. Inherited from PreviewModelBase.
ZoomInCommand Increases the document zoom factor. Inherited from PreviewModelBase.
ZoomMode Specifies the zooming mode that is applied to a report document. Inherited from PreviewModelBase.
ZoomModes Provides access to a collection of zooming modes available for a report document. Inherited from PreviewModelBase.
ZoomOutCommand Decreases the document zoom factor. Inherited from PreviewModelBase.

Methods

Name Description
Dispose() Disposes of the PrintingSystemPreviewModel object. Inherited from PrintingSystemPreviewModel.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
HandlePreviewDoubleClick(MouseEventArgs, FrameworkElement) For internal use. Inherited from DocumentPreviewModelBase.
HandlePreviewMouseLeftButtonDown(MouseButtonEventArgs, FrameworkElement) For internal use. Inherited from DocumentPreviewModelBase.
HandlePreviewMouseLeftButtonUp(MouseButtonEventArgs, FrameworkElement) For internal use. Inherited from DocumentPreviewModelBase.
HandlePreviewMouseMove(MouseEventArgs, FrameworkElement) For internal use. Inherited from DocumentPreviewModelBase.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
PrintDialog() Runs a print dialog box used for selecting a printer, setting the print options and printing the document. Inherited from PrintingSystemPreviewModel.
PrintDirect() Prints the document on the default printer. Inherited from PrintingSystemPreviewModel.
PrintDirect(PrintQueue) Prints the current document to a default printer. Inherited from PrintingSystemPreviewModel.
PrintDirect(String) Prints the document on the specified printer. Inherited from PrintingSystemPreviewModel.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SetZoom(Double) Applies the specified zoom factor value to a document. Inherited from PreviewModelBase.
ShowPageSetupDialog(Window) Displays modally a Page Setup dialog window. Inherited from PrintingSystemPreviewModel.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
PreviewClick Occurs when the left mouse button is clicked in the document area in a Document Preview. Inherited from DocumentPreviewModelBase.
PreviewDoubleClick Occurs when the left mouse button is double-clicked in the document area in a Document Preview. Inherited from DocumentPreviewModelBase.
PreviewMouseMove Occurs when the mouse cursor moves over the document area in a Document Preview. Inherited from DocumentPreviewModelBase.
PropertyChanged Occurs every time any of the PreviewModelBase class properties has changed its value. Inherited from PreviewModelBase.
See Also