RemoteDocumentSource Class
Provides functionality to publish RemoteDocument objects.
Namespace: DevExpress.ReportServer.Printing
Assembly: DevExpress.Printing.v18.1.Core.dll
Declaration
[ToolboxBitmap(typeof(ResFinder), "Bitmaps256.RemoteDocumentSource.bmp")]
public class RemoteDocumentSource :
Component,
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.
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“.
- 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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RemoteDocumentSource class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.