VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing Namespace / ChangePixelFormatToGrayscaleCommand Class / PixelFormat Property
Syntax Requirements SeeAlso
In This Topic
    PixelFormat Property (ChangePixelFormatToGrayscaleCommand)
    In This Topic
    Gets or sets a pixel format in which image must be converted.
    Syntax
    'Declaration
    
    <DescriptionAttribute("A pixel format in which image must be converted.
    Supported values: Gray8, Gray16.")>
    <DefaultValueAttribute(Gray8)>
    Public Property PixelFormat As Vintasoft.Imaging.PixelFormat
    
    
    [Description("A pixel format in which image must be converted.
    Supported values: Gray8, Gray16.")]
    [DefaultValue(Gray8)]
    public Vintasoft.Imaging.PixelFormat PixelFormat { get; set; }
    
    
    [Description("A pixel format in which image must be converted.
    Supported values: Gray8, Gray16.")]
    [DefaultValue(Gray8)]
    public: __property Vintasoft.Imaging.PixelFormat get_PixelFormat();
    public: __property void set_PixelFormat(
    Vintasoft.Imaging.PixelFormat value
    );
    [Description("A pixel format in which image must be converted.
    Supported values: Gray8, Gray16.")]
    [DefaultValue(Gray8)]
    public:
    property Vintasoft.Imaging.PixelFormat PixelFormat { Vintasoft.Imaging.PixelFormat get(); void set(Vintasoft.Imaging.PixelFormat value); }

    Property Value

    Supported values: PixelFormat.Gray8, PixelFormat.Gray16.

    Default value is PixelFormat.Gray8.
    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