ISalReport

PPJ.Runtime.Windows.ISalReport

Namespace: PPJ.Runtime.Windows

Assembly: PPJ.Web.49 (4.9.0.0)

Interface to the report provider object.

public interface ISalReport

Properties

DocumentName

Stringarrow-up-right: Name of the printing document.

FileName

Stringarrow-up-right: The report file name.

Handle

IntPtrarrow-up-right: Return the handle of the ISalReport instance.

InputItems

Stringarrow-up-right: List of bind input variables, separated by a comma.

LastPageNumber

Int32arrow-up-right: Returns the last page number.

Owner

Controlarrow-up-right: The owner control for the report. This is the control that receives the report's notifications.

PrinterSettings

PrinterSettingsarrow-up-right: Returns the printer settings to use when printing the report.

ProgressCaption

Stringarrow-up-right: Title of the progress dialog.

ProgressText

Stringarrow-up-right: Text to show in the progress dialog. It can be up to two lines separated by a CRLF.

ReportDocument

Objectarrow-up-right: Returns the underlying report object.

TableWindowSource

SalTableWindowarrow-up-right: TableWindow control to be used as the data source for the report.

Variables

Stringarrow-up-right: List of report variables, separated by a comma.

Viewer

Controlarrow-up-right: Returns the current instance of the report viewer.

Methods

ClosePreview()

Closes the preview window.

Create(file)

Creates a new dynamic report using the specified template. If the templates is null (default), the built-in template is used.

Parameter
Type
Description

Returns: Int32arrow-up-right.

DoPreviewCommand(command)

Executes the specified command on the preview window. The command code is one of the Sys.RPT_Cmd* constants.

Parameter
Type
Description

Export(file, firstPage, lastPage, options)

Exports the report to the specified file. The kind of export is inferred from the extension of the file.

Parameter
Type
Description

Returns: Int32arrow-up-right.

GetReportVariable(name)

Returns the value of the specified report variable.

Parameter
Type
Description

Returns: Objectarrow-up-right.

Preview(parent, options)

Preview the report. The report viewer control is hosted in the specified parent. If the parent is null, a new top level form is created.

Parameter
Type
Description

Returns: Int32arrow-up-right.

Prints the report.

Parameter
Type
Description

Returns: Int32arrow-up-right.

SetReportVariable(name, value)

Sets the value of the specified report variable.

Parameter
Type
Description

Returns: Booleanarrow-up-right.

Last updated