Accusoft ImagXpress 12
ReplaceColors Method
See Also  Send comments on this topic.
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.

AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : ReplaceColors Method

Glossary Item Box

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

©2013. Accusoft Corporation. All Rights Reserved.