AddBorder method (ILEADRasterProcess)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AddBorder(ILEADRaster *pRaster, float fLeftThickness, float fTopThickness, float fRightThickness, float fBottomThickness, AddBorderLocationConstants Location, AddBorderStyleConstants Style, AddBorderEffectStyleConstants EffectStyle, ILEADRaster *pRasterTile, AddBorderGradientStyleConstants GradientStyle, OLE_COLOR crGradientStart, OLE_COLOR crGradientEnd, short nCurveIntensity, VARIANT_BOOL bSoftCurve, VARIANT_BOOL bShadow, short nShadowSize, AddBorderShadowDirectionConstants ShadowDirection, VARIANT_BOOL bBumpyShadow);

Overview

Refer to Combining Images.

Remarks

(DigitalPaint only) Adds a border to the bitmap. The border 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 function 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

AddFrame method

Topics

Image Processing

 

Using Color Values in LEADTOOLS