IExAnalyzerExporter.EmfType

Syntax

EmfType: GxEmfType;

Description

The EmfType property determines the type of the metafile created on export.

Comments

By default, the type of created metafile is GxEmfType.EmfPlusDual.

Example

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

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

Sub UserProc;
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    Sheet: IEaxSheet;
    Exp: IExAnalyzerExporter;
Begin
    MB := MetabaseClass.Active;
    Express := MB.ItemById("EXPRESS").Bind As IEaxAnalyzer;
    // Get page for export
    Sheet := Express.ActiveSheet;
    Exp := New ExAnalyzerExporter.Create;
    // Set and perform export in metafile
    Exp.Sheet := Sheet;
    Exp.EmfType := GxEmfType.EmfOnly;
    Exp.ExportToFile("C:\img.emf","emf");
End Sub UserProc;

After executing the example the report will be exported to the metafile in the GxEmfType.EmfOnly format.

See also:

IExAnalyzerExporter