VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing Namespace / ProcessingCommandBase Class / RestoreSourcePixelFormat Property
Syntax Exceptions Requirements SeeAlso
In This Topic
    RestoreSourcePixelFormat Property (ProcessingCommandBase)
    In This Topic
    Gets or sets a value indicating whether the processing command need to restore source pixel format of processed image if source image pixel format was change during image processing.
    Syntax
    'Declaration
    
    <DefaultValueAttribute(False)>
    <DescriptionAttribute("A value indicating whether the processing command need to restore source pixel format of processed image if source image pixel format was change during image processing.")>
    Public Overridable Property RestoreSourcePixelFormat As Boolean
    
    
    [DefaultValue(False)]
    [Description("A value indicating whether the processing command need to restore source pixel format of processed image if source image pixel format was change during image processing.")]
    public virtual bool RestoreSourcePixelFormat { get; set; }
    
    
    [DefaultValue(False)]
    [Description("A value indicating whether the processing command need to restore source pixel format of processed image if source image pixel format was change during image processing.")]
    public: __property virtual bool get_RestoreSourcePixelFormat();
    public: __property virtual void set_RestoreSourcePixelFormat(
    bool value
    );
    [DefaultValue(False)]
    [Description("A value indicating whether the processing command need to restore source pixel format of processed image if source image pixel format was change during image processing.")]
    public:
    virtual property bool RestoreSourcePixelFormat { bool get(); void set(bool value); }

    Property Value

    True - the processing command need to restore the source pixel format of processed image if source image pixel format was change during image processing; otherwise, false.
    Exceptions
    ExceptionDescription
    Thrown if value is true and CanModifyImage is false.
    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