Share via


4.218 DocumentViewer

x:Object > DependencyObject > Visual > UIElement > FrameworkElement > Control > DocumentViewerBase > DocumentViewer, IInputElement

(usage)

<DocumentViewer> IDocumentPaginatorSource </DocumentViewer>

(description)

Represents a document viewing control that can host paginated FixedDocument content such as an XpsDocument.

[content property]

Document

[name property]

Name

[xml lang property]

Language

(properties)

HorizontalOffset

x:Double

(description)

The horizontal scroll position.

HorizontalPageSpacing

x:Double

(description)

The horizontal space between pages.

MaxPagesAcross

x:Int32

(description)

A value defining the maximum number of page columns to display.

ShowPageBorders

x:Boolean

(description)

A value that indicates whether drop-shadow page borders are displayed.

VerticalOffset

x:Double

(description)

The vertical scroll position.

VerticalPageSpacing

x:Double

(description)

The vertical spacing between displayed pages.

Zoom

x:Double

(description)

The document zoom percentage.

(static properties)

FitToHeightCommand

RoutedUICommand

(description)

The RoutedUICommand that performs the FitToHeight operation.

FitToMaxPagesAcrossCommand

RoutedUICommand

(description)

The RoutedUICommand that performs the MaxPagesAcross operation.

FitToWidthCommand

RoutedUICommand

(description)

The RoutedUICommand that performs the FitToWidth operation.

ViewThumbnailsCommand

RoutedUICommand

(description)

The RoutedUICommand that performs the ViewThumbnails operation.