Skip to main content
All docs
V24.1

DxPdfViewer Members

A component that displays PDF documents directly in the browser.

Constructors

Name Description
DxPdfViewer() Initializes a new instance of the DxPdfViewer class.

Properties

Name Description
ActivePageIndex Returns the active page’s index.
CssClass Assign a CSS class to the PdfViewer component.
DocumentContent Specifies a document’s content in binary data format.
IsSinglePagePreview Specifies whether to display one or multiple pages in a preview.
PageCount Returns the number of pages in the document.
SizeMode Specifies the size of the component’s inner elements.
ZoomLevel Specifies the document’s zoom level.

Methods

Name Description
DownloadAsync() Asynchronously downloads the document.
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.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
PrintAsync() Invokes the browser’s Print dialog.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
CustomizeToolbar Allows you to customize the PDF Viewer’s toolbar.
See Also