RemoteDocumentSource Class

Provides functionality to publish RemoteDocument objects.

Namespace: DevExpress.ReportServer.Printing

Assembly: DevExpress.Printing.v19.2.Core.dll

Declaration

[ToolboxBitmap(typeof(ResFinder), "Bitmaps256.RemoteDocumentSource.bmp")]
public class RemoteDocumentSource :
    Component,
    IReport,
    IDocumentSource,
    ILink,
    IComponent,
    IDisposable,
    IServiceProvider,
    IExtensionsProvider
<ToolboxBitmap(GetType(ResFinder), "Bitmaps256.RemoteDocumentSource.bmp")>
Public Class RemoteDocumentSource
    Inherits Component
    Implements IReport,
               IDocumentSource,
               ILink,
               IComponent,
               IDisposable,
               IServiceProvider,
               IExtensionsProvider

Remarks

To assign a remote document source to the DocumentViewer control, specify the following properties of the RemoteDocumentSource class.

  1. The RemoteDocumentSource.AuthenticationType property.

    - to connect to a Report and Dashboard Server, set this property to "Windows", "User" or "Guest";

    - to connect to a custom WCF report service, set this property to "None".

  2. The RemoteDocumentSource.ServiceUri property.

The rendering of RemoteDocument objects is performed by a RemotePrintingSystem.

To learn more, refer to the following tutorial: How to: Preview, Export and Print a Remotely Created Document.

Limitations

When the Document Preview shows remotely created documents, it does not provide the following capabilities:

  • Change document page settings in the Page Setup dialog;
  • Scale the document content;
  • Display thumbnails;
  • Use editing fields;
  • Search for a specific text using the Search panel;
  • Add watermarks.

Inheritance

See Also