[]
        
(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.

IsSnapshotLimitedInteractivity

Gets or sets a value indicating whether the document support interactivity or limited to snapshot.

PageReport

Gets the current report instance.

Parameters

Gets the collection of parameters defined in the report.

PrintOptions

Print options

Printer

Gets printer settings.

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 with aids the specified file info.

LoadSnapshot(Stream, ResourceLocator)

Loads a page document snapshot from the specified stream, verifying its digital signature and version compatibility.

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)

Saves the document snapshot with aids the specified file info.

SaveSnapshot(Stream, bool)

Saves the document snapshot to the specified output stream.

SaveSnapshot(Stream, bool, bool)

Saves the document snapshot to the specified output 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