IExAnalyzerExporter.FixEmfLines

Fore Syntax

FixEmfLines: Boolean;

Fore.NET Syntax

FixEmfLines: System.Boolean;

Description

The FixEmfLines property determines the type of metafile, created at export.

Comments

If FixEmfLines is set to True,   is EmfType.EmfOnly, otherwise it is EmfType.EmfPlusDual. Metafile type affects appearance of dotted lines exported to EMF. Some issues occur on opening the EmfType.EmfPlusDual metafile in Adobe Illustrator CS5 (application defect), the metafile opens correctly if it has the EmfType.EmfOnly format. That is why metafile type can be selected by the user.

Default value is True.

The property is outdated, use IExAnalyzerExporter.EmfType.

Fore Example

Executing the example requires an express report with the identifier OBJ1. Add links to the Metabase and Express system assemblies.

Sub Main;
Var
    Mb: IMetabase;
    Eax: IEaxAnalyzer;
    Exp: IExAnalyzerExporter;
Begin
    Mb:= MetabaseClass.Active;
    Eax:= mb.ItemById("OBJ1").Bind As IEaxAnalyzer;
    Exp:= New ExAnalyzerExporter.Create;
    Exp.ExAnalyzer := Eax;
    Exp.FixEmfLines := False;
    Exp.ExportToFile("C:\0.emf""emf");
End Sub Main;

After executing the example the report is exported to metafile using the format EmfTypeEmfPlusDual.

Fore.NET Example

Executing the example requires an express report with the identifier OBJ1. Add links to the Metabase, Express system assemblies.

Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Express;
...
Sub Main(Params: StartParams);
Var
    Mb: IMetabase;
    Eax: IEaxAnalyzer;
    Exp: IExAnalyzerExporter;
Begin
    Mb:= MetabaseClass.Active;
    Eax:= mb.ItemById["OBJ1"].Bind() As IEaxAnalyzer;
    Exp:= New ExAnalyzerExporter.Create();
    Exp.ExAnalyzer := Eax;
    Exp.FixEmfLines := False;
    Exp.ExportToFile("C:\0.emf""emf");
End Sub;

After executing this example the report is exported to metafile using the format EmfTypeEmfPlusDual.

See also:

IExAnalyzerExporter