The requested page is not available for the requested platform. You are viewing the content for Default platform.

PdfViewerControl.DocumentSource Property

Gets or sets the PDF document source. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Controls

Assembly: DevExpress.UI.Xaml.Controls.v19.1.dll


public object DocumentSource { get; set; }
Public Property DocumentSource As Object

Property Value

Type Description

A document source.


The following source types are available:

  • System.IO.Stream
  • Windows.Storage.Streams.IRandomAccessStream
  • byte[]
  • Windows.Storage.StorageFile
  • System.Uri
  • string

The DocumentSource property has a higher priority than the PdfViewerControl.DocumentUri property.

See Also