Components for Developers
© 2000-2012, Two Pilots

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

PDF Creator Pilot documentation

Download CHM version of this manual.
Common
PlayMetaFileFromBuffer

See Also
Collapse All

This method adds a metafile from a array of bytes representing the EMF file.

Syntax

HRESULT PlayMetaFileFromBuffer (
VARIANT* bufferEmf,
LONG bufferSizeEMF,
FLOAT x,
FLOAT y,
FLOAT scaleX,
FLOAT scaleY
)
Parameters
bufferEmf
Array of bytes representing the EMF file (binary data)

bufferSizeEMF
Size (in bytes) of a EMF file

x
X coordinate of the drawing position

y
Y coordinate of the drawing position

scaleX
Horizontal scale factor

scaleY
Vertical scale factor

Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.

Remarks

This method paints the context of the metafile (provided by buffer of EMF) on the page at specified coordinates (x, y) with scaling (scaleX, scaleY).

See Also

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

 

 

PDF Library | Virtual Printer | Converters to PDF

Support | Blog | Forum | Contacts

© 2000-2012, Two Pilots