Express > Express Assembly Interfaces > IExAnalyzerExporter > IExAnalyzerExporter.EmfType
EmfType: GxEmfType;
The EmfType property determines the type of the metafile created on export.
Default type of created metafile type - GxEmfType.EmfPlusDual.
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 is exported to the metafile in the EMF format.
See also: