VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Transforms Namespace / ImageScalingCommand Class / RestoreSourcePixelFormat Property
Syntax Requirements SeeAlso
In This Topic
    RestoreSourcePixelFormat Property (ImageScalingCommand)
    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(True)>
    Public Overrides Property RestoreSourcePixelFormat As Boolean
    
    
    [DefaultValue(True)]
    public override bool RestoreSourcePixelFormat { get; set; }
    
    
    [DefaultValue(True)]
    public: __property bool get_RestoreSourcePixelFormat(); override;
    public: __property void set_RestoreSourcePixelFormat(
    bool value
    ); override;
    [DefaultValue(True)]
    public:
    property bool RestoreSourcePixelFormat { bool get() override;; void set(bool value) override;; }

    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.
    Requirements

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

    See Also