Skip to main content

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.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public object DocumentSource { get; set; }

Property Value

Type Description
Object

A document source.

Remarks

The following source types are available:

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

Note

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

See Also