VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Transforms Namespace / TransformImageCommand Class / InterpolationMode Property
Syntax Exceptions Requirements SeeAlso
In This Topic
    InterpolationMode Property (TransformImageCommand)
    In This Topic
    Gets or sets the interpolation algorithm, which should be used for transforming an image.
    Syntax
    'Declaration
    
    <DescriptionAttribute("The interpolation algorithm, which should be used for transforming an image.")>
    <DefaultValueAttribute(Bilinear)>
    Public Property InterpolationMode As Vintasoft.Imaging.ImageInterpolationMode
    
    
    [Description("The interpolation algorithm, which should be used for transforming an image.")]
    [DefaultValue(Bilinear)]
    public Vintasoft.Imaging.ImageInterpolationMode InterpolationMode { get; set; }
    
    
    [Description("The interpolation algorithm, which should be used for transforming an image.")]
    [DefaultValue(Bilinear)]
    public: __property Vintasoft.Imaging.ImageInterpolationMode get_InterpolationMode();
    public: __property void set_InterpolationMode(
    Vintasoft.Imaging.ImageInterpolationMode value
    );
    [Description("The interpolation algorithm, which should be used for transforming an image.")]
    [DefaultValue(Bilinear)]
    public:
    property Vintasoft.Imaging.ImageInterpolationMode InterpolationMode { Vintasoft.Imaging.ImageInterpolationMode get(); void set(Vintasoft.Imaging.ImageInterpolationMode value); }

    Property Value

    Supported values are ImageInterpolationMode.Bilinear and ImageInterpolationMode.NearestNeighbor. Default value is ImageInterpolationMode.Bilinear.
    Exceptions
    ExceptionDescription
    Thrown if interpolation mode is NOT supported.
    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