VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Color Namespace / ReplaceColorCommand Class / ColorSpace Property
Syntax Requirements SeeAlso
In This Topic
    ColorSpace Property (ReplaceColorCommand)
    In This Topic
    Gets or sets color space where colors are compared.
    Syntax
    'Declaration
    
    <DefaultValueAttribute(sRGB)>
    <DescriptionAttribute("Color space where colors are compared.")>
    Public Property ColorSpace As Vintasoft.Imaging.ColorSpaceType
    
    
    [DefaultValue(sRGB)]
    [Description("Color space where colors are compared.")]
    public Vintasoft.Imaging.ColorSpaceType ColorSpace { get; set; }
    
    
    [DefaultValue(sRGB)]
    [Description("Color space where colors are compared.")]
    public: __property Vintasoft.Imaging.ColorSpaceType get_ColorSpace();
    public: __property void set_ColorSpace(
    Vintasoft.Imaging.ColorSpaceType value
    );
    [DefaultValue(sRGB)]
    [Description("Color space where colors are compared.")]
    public:
    property Vintasoft.Imaging.ColorSpaceType ColorSpace { Vintasoft.Imaging.ColorSpaceType get(); void set(Vintasoft.Imaging.ColorSpaceType value); }

    Property Value

    Supported values are ColorSpaceType.RGB and ColorSpaceType.CIELab:
    RGB - colors are compared as RGB colors;
    CIELab - colors are compared as Lab colors.

    Default value is ColorSpaceType.RGB.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also