Class ImageResizeSettings
Class ImageResizeSettings
Namespace: Aspose.Imaging
Assembly: Aspose.Imaging.dll (25.7.0)
Image resize settings class
public class ImageResizeSettings
{
public Unit Width { get; set; }
public Unit Height { get; set; }
public ResizeUnit ResizeUnit { get; set; }
public InterpolationMode InterpolationMode { get; set; }
public bool MaintainAspectRatio { get; set; }
}
Inheritance
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ImageResizeSettings()
Initializes a new instance of the Aspose.Imaging.ImageResizeSettings class.
public ImageResizeSettings()
{
}
Properties
ColorCompareMethod
Gets or sets the color compare method.
public ColorCompareMethod ColorCompareMethod
{
get;
set;
}
Property Value
ColorQuantizationMethod
Gets or sets the color quantization method.
public ColorQuantizationMethod ColorQuantizationMethod
{
get;
set;
}
Property Value
EntriesCount
Gets or sets the entries count
public int EntriesCount
{
get;
set;
}
Property Value
FilterType
Gets or sets the type of the filter.
public ImageFilterType FilterType
{
get;
set;
}
Property Value
Mode
Gets or sets the interpolation mode.
public ResizeType Mode
{
get;
set;
}