Click or drag to resize

ImageCommandApplyToAnyPixelFormat Property

Reports whether or not this command will be applied to any supplied PixelFormat image

Namespace:  Atalasoft.Imaging.ImageProcessing
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public virtual bool ApplyToAnyPixelFormat { get; set; }

Property Value

Type: Boolean
When set to true, the command will perform automatic PixelFormat conversion of the source image to a PixelFormat suitable for the command. By default this property is set to false.
Remarks

Note that not all commands will support this property. If a command returns true in the property CanApplyToAnyPixelFormat, then ApplyToAnyPixelFormat can be either true or false.

If a command reports false in the property CanApplyToAnyPixelFormat, then ApplyToAnyPixelFormat can only be false and will throw a NotSupportedException if set to true.

See Also