Class ImageDocumentsViewModel

This example demonstrates how to open and export image documents.

Inheritance
System.Object
ImageDocumentsViewModel
Implements
System.ComponentModel.INotifyPropertyChanged
Namespace: Catalog.ViewModels
Assembly: Catalog.dll
Syntax
public class ImageDocumentsViewModel : Observable, INotifyPropertyChanged

Properties

ExportAsJpegCommand

Declaration
public ICommand ExportAsJpegCommand { get; }
Property Value
Type Description
System.Windows.Input.ICommand

ExportAsOriginalCommand

Declaration
public ICommand ExportAsOriginalCommand { get; }
Property Value
Type Description
System.Windows.Input.ICommand

ExportAsPdfCommand

Declaration
public ICommand ExportAsPdfCommand { get; }
Property Value
Type Description
System.Windows.Input.ICommand

ExportAsPngCommand

Declaration
public ICommand ExportAsPngCommand { get; }
Property Value
Type Description
System.Windows.Input.ICommand

ExportAsTiffCommand

Declaration
public ICommand ExportAsTiffCommand { get; }
Property Value
Type Description
System.Windows.Input.ICommand

OpenDocumentCommand

Declaration
public ICommand OpenDocumentCommand { get; }
Property Value
Type Description
System.Windows.Input.ICommand

PDFView

Declaration
public PdfView PDFView { get; }
Property Value
Type Description
PdfView

Methods

Initialize(PdfView)

Declaration
public void Initialize(PdfView pdfView)
Parameters
Type Name Description
PdfView pdfView

OpenDocument()

Declaration
public async void OpenDocument()

Implements

System.ComponentModel.INotifyPropertyChanged