Visit Gigasoft's Web Site
 ProEssentials v9 Help

PEplaymetafile

void PEplaymetafile ( hObject, hDeviceContext, hMetafile )

 

HWND 

hObject

The handle returned from PEcreate.

HDC 

hDeviceContext

Target Device Context to receive graphic commands.

HMETAFILE 

hMetafile

Handle returned from PEgetmeta.

 

This function helps send the control's internal image (a proprietary metafile) to a target Device Context. This function is needed in custom printing or painting logic. It's only necessary when RenderEngine is set to Hybrid or GdiPlus. When RenderEngine is being set to GDI, then the Windows PlayMetaFile API call can be used.

 

Comments

For printing information, see Question 21 in Chapter 7.

 

See Also: PEgetmeta, PEresetimageEx, PEreinitialize

 

.NET developers, call this function as Gigasoft.ProEssentials.Api.PEplaymetafile

 

OCX developers, use the declaration in PE9API.BAS found in the VB6 example project dir.