Metareport
Keyword Index
Home




© 2004-2012 Metamatica Software

 

Properties

 

Top  Previous  Next

 

 

OpenReport( ByVal ReportID as String )

 

Value type – Long

 

Parameters:

 

ReportID – the identifier (name) of the report project.

 

Description:

 

Opens the report for starting the report project without opening the built-in dialog box. Returns the report number that is used later on for transmitting report parameters, label values and starting the report.

 

ParentWindow

 

Value type – Long

 

Description:

 

This property handle of window which calls methods of COM object. This property must be assigned before calling methods StartReport, StartReportWithParameters, About. If you not assign ParentWindow property dialog (or preview) window can be hidden under your application window.

 

ProjectsPath

Value type – String

 

Description:

 

This property contains a folder name where stored your report projects. You can change it to another folder if necessary. In this case, projects list will be reloaded automatically.

 

 

ReportCount

 

Value type – Long

 

Description:

 

Returns the number of available report projects. Can be used later on to enumerate report projects (see ReportDescription, ReportID). The numbers of reports begin from 0.

 

 

ReportDescription( ByVal ReportNum as Long )

 

Value type – String

 

Parameters:

 

ReportNum – the number of the report project.

 

Description:

 

Returns the description of the report project.

 

 

 

ReportID( ByVal ReportNum as Long )

 

Value type – String

 

Parameters:

 

ReportNum – the number of the report project.

 

Description:

 

Returns the identifier (name) of the report project.

 

 

PrinterCount

 

Value - Long

 

Description:

 

Returns the amount of printers in your system. Read-only property.

 

 

PrinterIndex

 

Value - Long

 

Description:

 

Current printer number. In order to set to default printer you may set the value to -1. Available for read and write.

 

 

AutoAdjustPrinter

 

Value - Boolean

 

Description:

 

Allows to enable or disable automatic adjustment of printer by using report settings. Available for read and write.

 

 

PrinterName( ByVal PrinterIndex as Long )

 

Value - String

 

Parameters:

 

PrinterIndex – the number of printer. PrinterIndex must be between 0 and PrinterCount - 1

 

Description:

 

Returns the name of printer by their number. Read-only property