[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.PageDocument

PageDocument Class

Represents the report processing capabilities.

Inheritance
PageDocument
Implements
Namespace: GrapeCity.ActiveReports.Document
Assembly: MESCIUS.ActiveReports.dll
Syntax
public sealed class PageDocument : IDisposable

Constructors

Name Description
PageDocument(PageReport)

Initializes a new instance of PageDocument Class.

Properties

Name Description
IsEmpty

Gets the value indicating whether the report contains any data.

LocateDataSourceFn

Gets a delegate that can be used to retrieve data from a data source.

PageReport

Gets the current report instance.

Parameters

Gets the parameters for the report.

PrintOptions

Print options

Printer

Gets printer settings.

ResolveCredentialsFn

Gets a delegate that can be used to retrieve credentials.

Methods

Name Description
ApplyInteractivity(InteractiveActions)

Applies interactive actions to the report instance the next time it is rendered.

Dispose()

Performs tasks associated with the freeing and releasing of resources.

~PageDocument()

Finalizes an instance of the PageDocument class.

InitializeReportHandlers(PageDocument)

Sets the default event handlers for LocateDataSource and LocateCredentials.

LoadSnapshot(FileInfo)

Loads a page document from the snapshot file.

LoadSnapshot(Stream, ResourceLocator)

Loads a page document from the stream.

Render(IRenderingExtension, StreamProvider)

Renders a report using the specified rendering extension and output configuration.

Render(IRenderingExtension, StreamProvider, NameValueCollection)

Renders a report using the specified rendering extension with the specified values.

Render(IRenderingExtension, StreamProvider, NameValueCollection, bool)

Renders a report using the specified rendering extension with the specified values and refreshed data.

Render(IRenderingExtension, StreamProvider, NameValueCollection, bool, bool)

Renders a report using the specified rendering extension with the specified values and refreshed data.

Render(IRenderingExtension, StreamProvider, NameValueCollection, bool, bool, CancellationToken)

Renders a report using the specified rendering extension with the specified values and refreshed data.

Render(IRenderingExtension, StreamProvider, NameValueCollection, bool, bool, CancellationToken, IProgress<ProgressInfo>)

Renders a report using the specified rendering extension with the specified values and refreshed data.

ResetPrinter()

Resets the printer properties

SaveSnapshot(FileInfo, bool)

Saves document snapshot to the specified file.

SaveSnapshot(Stream, bool)

Saves a document snapshot to the specified stream.

Events

Name Description
LocateCredentials

Occurs when the report needs to obtain data source credentials from the calling application.

LocateDataSource

Occurs when the report needs to locate a data source from the calling application.

PrintAborted

Occurs when printing process was aborted.

PrintProgress

Occurs when printing process in progress.

PrintingThreadErrorEvent

Occurs when printing thread has exception.

Extension Methods