UtilImageDrawColorSubstitution Method

Replaces one color (old color) with another (new color) on an element.

Definition

Namespace: DevCase.ThirdParty.ImageDraw
Assembly: DevCase.net48.ThirdParty.ImageDraw (in DevCase.net48.ThirdParty.ImageDraw.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void ColorSubstitution(
	ref ImageElement refImageElement,
	Color oldColor,
	Color newcolor,
	byte colorTolerance
)

Parameters

refImageElement  ImageElement
The image draw element.
oldColor  Color

[Missing <param name="oldColor"/> documentation for "M:DevCase.ThirdParty.ImageDraw.UtilImageDraw.ColorSubstitution(Neodynamic.SDK.ImageDraw.ImageElement@,System.Drawing.Color,System.Drawing.Color,System.Byte)"]

newcolor  Color

[Missing <param name="newcolor"/> documentation for "M:DevCase.ThirdParty.ImageDraw.UtilImageDraw.ColorSubstitution(Neodynamic.SDK.ImageDraw.ImageElement@,System.Drawing.Color,System.Drawing.Color,System.Byte)"]

colorTolerance  Byte

[Missing <param name="colorTolerance"/> documentation for "M:DevCase.ThirdParty.ImageDraw.UtilImageDraw.ColorSubstitution(Neodynamic.SDK.ImageDraw.ImageElement@,System.Drawing.Color,System.Drawing.Color,System.Byte)"]

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

Neodynamic.SDK.ImageDraw by Neodynamic

See Also