|
PEbitmapandgradientsBOOL PEbitmapandgradients(hObject, hPaintDC, hTargetDC, prectTarget)
This function sends bitmap and gradient GDI content to a target device context (DC) at device coordinates identified with prectTarget. If sending a metafile to a DC, and you want to include gradient and bitmap features, you must first call this function before the PlayMetafile API call. Also, the control must have PrepareImages and BitmapGradientMode properties set to TRUE.
The prectTarget coordinates should represet the same viewport origin and extents established for the PlayMetafile API call which usually follows this call.
Returns NonZero if the function was successful, otherwise Zero.
Comments See the C#.NET Print Preview example project which shows the use of this function. |
©2012 Gigasoft, Inc. | All rights reserved. Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |
|