|
|
|
|
|
Monochrome (Property) In french: Monochrome
The Monochrome property is used to: - determine if the pixels of an image contained in an Image control are automatically replaced with a color specified in the style options ("Style" tab of the control description, "Force monochrome mode").
- enable or disabled monochrome mode in an Image control. If monochrome mode is enabled, the pixels of an image contained in an Image control will be automatically replaced with a color specified in the style options ("Style" tab of the control description, "Force monochrome mode").
This property makes it possible to easily apply palette colors on images. Note: This property is only available from version 2025 Update 1. IMG_MyImage = "C:\Temp\MyImage.jpeg"
IMG_MyImage.Monochrome = True
Syntax
Determining if monochrome mode is currently supported Hide the details
<Result> = <Image control>.Monochrome
<Result>: Boolean - True if the Image control supports monochrome mode,
- False otherwise.
<Image control>: Control name Name of the Image control to be used.
Enabling or disabling monochrome mode Hide the details
<Image control>.Monochrome = <Display mode>
<Image control>: Control name Name of the Image control to be used. <Display mode>: Boolean - True to enable monochrome mode in the Image control,
- False to disable monochrome mode.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|