Click or drag to resize

ZebraCardGraphicsSetColorScale Method

Sets the color scale correction values for red, green, and blue pixel values during CreateImage.

Namespace:  Zebra.Sdk.Card.Graphics
Assembly:  SdkApi_Card_Desktop (in SdkApi_Card_Desktop.dll) Version: 2.14.1989
Syntax
public void SetColorScale(
	int red,
	int blue,
	int green
)

Parameters

red
Type: SystemInt32
The red pixel correction value.
blue
Type: SystemInt32
The blue pixel correction value.
green
Type: SystemInt32
The green pixel correction value.

Implements

ZebraGraphicsISetColorScale(Int32, Int32, Int32)
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf any of the arguments are outside of the specified range.
Remarks
  • Range: -25 to 25
  • Values passed in (-25 to 25) will be converted to a range of -127 to 127 before being applied to each pixel (e.g. a value of 25 will correspond to an actual offset of 127).
See Also