Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

DynaPDF.InsertMetafileEx

Inserts metafile as vector graphics.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 7.3 No Yes Yes, Windows only No No

MBS( "DynaPDF.InsertMetafileEx"; PDF; Data; PosX; PosY; Width; Height { ; ViewLeft; ViewTop; ViewRight; ViewBottom } )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Data The container value with EMF or WMF file inside.
PosX X-Coordinate of output rectangle 100
PosY Y-Coordinate of output rectangle. 100
Width Width of output rectangle.
Height Height of output rectangle.
ViewLeft Optional
The left coordinate of the view rectangle.
ViewTop Optional
The top coordinate of the view rectangle.
ViewRight Optional
The right coordinate of the view rectangle.
ViewBottom Optional
The bottom coordinate of the view rectangle.

Result

Returns OK or error.

Description

Inserts metafile as vector graphics.
The function converts an Enhanced Meta File (EMF) or Windows Meta File (WMF) to native PDF vector graphics.

The view is optional, see InsertMetafileExtEx in DynaPDF help file.
EMF+ files do not work.

See also InsertMetafileEx function in DynaPDF manual.

See also


DynaPDF.InsertMetafile   -   DynaPDF.IsColorPage

Feedback: Report problem or ask question.




Links
MBS Xojo blog