IEaxObject.ViewSize

Syntax

ViewSize: IGxSizeF;

Description

The ViewSize property returns the express report object size.

Example

Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier.

Add links to the Drawing, Express, Metabase system assemblies.

Sub  Userproc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    Object: IEaxObject;
Begin
    
// Get express report
    MB := MetabaseClass.Active;
    MObj := MB.ItemById(
"EXPRESS_REPORT").Edit;
    Expr := MObj 
As IEaxAnalyzer;
    
//Set object size
    Object.ViewSize := New GxSizeF.Create(100100);
    
//Save
    MObj.Save;
End Sub UserProc;

After executing the example the express report object size is set.

See also:

IEaxObject