ImageGear .NET - Updated
ImGearBicubicInterpolationOptions Class
Members  Example 




ImageGear24.Core Assembly > ImageGear.Processing Namespace : ImGearBicubicInterpolationOptions Class
Represents options for bicubic interpolation.
Object Model
ImGearBicubicInterpolationOptions Class
Syntax
'Declaration
 
Public Class ImGearBicubicInterpolationOptions 
   Inherits ImGearInterpolationOptions
'Usage
 
Dim instance As ImGearBicubicInterpolationOptions
public class ImGearBicubicInterpolationOptions : ImGearInterpolationOptions 
public __gc class ImGearBicubicInterpolationOptions : public ImGearInterpolationOptions 
public ref class ImGearBicubicInterpolationOptions : public ImGearInterpolationOptions 
Example
// Resizes an image to 128 pixels wide maintaining aspect ratio using bicubic resizing.
int newHeight = 128 * igRasterPage.DIB.Height / igRasterPage.DIB.Width;
ImGearBicubicInterpolationOptions igBicubicInterpolationOptions = new ImGearBicubicInterpolationOptions();
igBicubicInterpolationOptions.Sharpness = 1.5;
ImGearProcessing.Resize(igRasterPage, 128, newHeight, igBicubicInterpolationOptions);
' Resizes an image to 128 pixels wide maintaining aspect ratio using bicubic resizing.
Dim newHeight As Integer = 128 * igRasterPage.DIB.Height / igRasterPage.DIB.Width
Dim igBicubicInterpolationOptions As New ImGearBicubicInterpolationOptions()
igBicubicInterpolationOptions.Sharpness = 1.5
ImGearProcessing.Resize(igRasterPage, 128, newHeight, igBicubicInterpolationOptions)
Inheritance Hierarchy

System.Object
   ImageGear.Processing.ImGearInterpolationOptions
      ImageGear.Processing.ImGearBicubicInterpolationOptions

See Also

Reference

ImGearBicubicInterpolationOptions Members
ImageGear.Processing Namespace
ImGearBilinearInterpolationOptions Class