IEaxSheets

Assembly: Express;

Description

The IEaxSheets interface contains properties and methods used to work with collection of express report sheets.

Inheritance Hierarchy

IEaxSheets

Comments

The collection of express report sheets is available in the IEaxAnalyzeCore.Sheets property.

The IEaxSheets collection also implements properties and methods of the  IGxDocument interface, that is why it is used for batch print of all sheets. Examples of printing all sheets of express report:

Sub UserProc;
Var
    MB: IMetabase;
    Expr: IEaxAnalyzer;
    GxDoc: IGxDocument;
    Printer: IGxDocumentPrinter;
Begin
    MB := MetabaseClass.Active;
    Expr := MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;
    Printer := GxPrinters.DefaultPrinter As IGxDocumentPrinter;
    GxDoc := Expr.Sheets As IGxDocument;
    GxDoc.Print(Printer, -10"");
End Sub UserProc;

Properties

  Property name Brief description
Analyzer The Analyzer property returns the source express report, which owns current sheet collection.
Count The Count property returns the number of sheets in the collection.
Item The Item property returns sheet parameters by index.
ItemByKey The ItemByKey property returns sheet parameters according to the key.

Methods

  Method name Brief description
Add The Add method creates the sheet that is based on the current express report.
AddNew The AddNew method creates the sheet that is based on the a express report.
AddSheets The AddSheets method copies selected sheet collection to the current collection.
Clear The Clear method delete all sheets from the gallery.
IndexOf The IndexOf method returns an index of the selected sheet in the gallery.
InsertAt The InsertAt method inserts selected sheet to the specified position of collection.
Move The Move method moves the sheet inside the collection.
Remove The Remove method remove selected sheet.
RemoveByIndex The RemoveByIndex method removes sheet by index.
RemoveByKey The RemoveByKey method removes sheet by key.

See also:

Express Assembly Interfaces