AddFrame method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AddFrame (TBitmapHandle BitmapFrame, bool bKeepFrameState, bool bUseMask, unsigned crMask, int SmoothEdge, int nLocation, int nQuality);

Delphi Syntax

Function AddFrame (BitmapFrame: TBITMAPHANDLE; bKeepFrameState: Boolean; bUseMask: Boolean; crMask: TColorRef; SmoothEdge: Integer; nLocation: Integer; nQuality: Integer): Integer;

Overview

Refer to Combining Images.

Remarks

(DigitalPaint only) Adds a frame to the bitmap. The frame is specified by the method's parameters.

This method does not support 12 and 16-bit grayscale and 48 and 64-bit color images. If the image is 12 and 16-bit grayscale and 48 and 64-bit color, the method will not return an error.

This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.

See Also

Elements:

AddBorder method

Topics:

Image Processing