Accusoft ImagXpress 13
ReplaceColors Method

The starting color in the color range.

Note: Value specified must be in a valid OLE_COLOR range.

The ending color in the color range.

Note: Value specified must be in a valid OLE_COLOR range.

The replacement color to use for all colors in the color range.

Note: Value specified must be in a valid OLE_COLOR range.

Description
Replaces a range of colors in the current image.
Syntax
Visual Basic
Public Sub ReplaceColors( _
   ByVal IPColorFrom As OLE_COLOR, _
   ByVal IPColorTo As OLE_COLOR, _
   ByVal IPColorReplace As OLE_COLOR _
) 
Parameters
IPColorFrom

The starting color in the color range.

Note: Value specified must be in a valid OLE_COLOR range.

IPColorTo

The ending color in the color range.

Note: Value specified must be in a valid OLE_COLOR range.

IPColorReplace

The replacement color to use for all colors in the color range.

Note: Value specified must be in a valid OLE_COLOR range.

Remarks

All colors in the image that fall within the range of ColorFrom and ColorTo are replaced with ColorReplace.

See Also

ImagXpress Object  | ImagXpress Members  | Color Image Processing  | Image Processing

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback