Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.InsertMetafile
Inserts metafile as vector graphics.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 7.3 | No | Yes | No | Yes, Windows only | No |
MBS( "DynaPDF.InsertMetafile"; PDF; Filename; PosX; PosY; Width; Height { ; ViewLeft; ViewTop; ViewRight; ViewBottom } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| The PDF reference returned from DynaPDF.New. | |||
| Filename | The native file path to the EMF file. | "C:\test.wmf" | |
| 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 | The left coordinate of the view rectangle. | Optional | |
| ViewTop | The top coordinate of the view rectangle. | Optional | |
| ViewRight | The right coordinate of the view rectangle. | Optional | |
| ViewBottom | The bottom coordinate of the view rectangle. | Optional |
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.
EMF+ files do not work.
Requires DynaPDF Lite license.
This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
For Server be aware that server has limited permissions and may not be able to access all files on a computer.
See also InsertMetafile function in DynaPDF manual.
See also
- DynaPDF.GetWMFDefExtent
- DynaPDF.GetWMFPixelPerInch
- DynaPDF.Initialize
- DynaPDF.InsertImageFile
- DynaPDF.InsertMetafileEx
- DynaPDF.New
- Path.FileMakerPathToNativePath
Created 18th May 2017, last changed 27th July 2018
DynaPDF.InsertImageFile - DynaPDF.InsertMetafileEx
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins