ProImage Help

AddImage

AddImage

Previous topic Next topic  

AddImage

Previous topic Next topic  

The AddImage method is used to draw an image on the base image.

 

Note that it can resize the image as it is drawn since the width and height specified are that of the target image.

 

!***************************************************************************************************************************

! AddImage

!

! Draw image on bitmaps

!

! Parameters:

! 2              SaveBmp       - ImageEx Bitmap

! 3              pMode    

! 4              pX         - X Position

! 5              pY         - Y Position

! 6              pW         - Width

! 7              pH         - Height

! 8              pDrawMode  - BLEND, OPAQUE (default=OPAQUE)

! 9              pAlpha     - Alpha level (0=transparent 255=solid)

!

! pMode can be:  ABSOLUTE (set with numeric values only), or one of these presets

!                TOPLEFT

!                TOPCENTER

!                TOPRIGHT

!                MIDDLELEFT

!                MIDDLECENTER

!                MIDDLERIGHT

!                BOTTOMLEFT

!                BOTTOMCENTER

!                BOTTOMRIGHT

!                HCENTER

!

!***************************************************************************************************************************

ImageAssemblerClass.AddImage   PROCEDURE( ImageExBitmapClass SaveBmp, STRING pMode, <SIGNED pX>, <SIGNED pY>, <SIGNED pW>, <SIGNED pH>, <LONG pDrawMode>, <BYTE pAlpha> )

!***************************************************************************************************************************