IEaxAnalyzeCore.CorrectScale

Syntax

CorrectScale(Scale: Double; Size: IGxSizeF): Double;

Parameters

Scale. Scale.

Size. Size.

Description

The CorrectScale method adjusts the scale relative to the size of express report displayed area.

Comments

To get express report parameters, use the IEaxAnalyzer.Options property.

Example

Executing the example requires an express report with the EXPRESS_TABLE identifier.

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

Sub UserProc;
Var
    MB: IMetabase;
    EAX: IEaxAnalyzer;
    Scale: Double;
    Size: IGxSizeF;
Begin
    MB := MetabaseClass.Active;
    EAX := MB.ItemById("EXPRESS_TABLE").Edit As IEaxAnalyzer;
    Scale := 0.50;
    Size := New GxSizeF.Create(50100);
    EAX.CorrectScale(Scale, Size);
    (EAX As IMetabaseObject).Save;
End Sub UserProc;

After executing the example the scale equal to 50% of displayed area specified size is set for the express report.

See also:

IEaxAnalyzeCore