ImageGear for .NET
ImGearBicubicInterpolationOptions Class
Members  Example  See Also  Send Feedback
ImageGear21.Core Assembly > ImageGear.Processing Namespace : ImGearBicubicInterpolationOptions Class




Glossary Item Box

Represents options for bicubic interpolation.

Object Model

ImGearBicubicInterpolationOptions Class

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Example

C#Copy Code
// 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);
Visual BasicCopy Code
' 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

©2013. Accusoft Corporation. All Rights Reserved.