VintaSoft Imaging .NET SDK 10.1
Vintasoft.Imaging.ImageProcessing Namespace / ProcessingCommandBase Class / RestoreSourcePixelFormat Property



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("Indicates that 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("Indicates that 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("Indicates that 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("Indicates that 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 6; .NET 5; .NET Core 3.1; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also