Class ImageResizeTransform
Resize ImageTransform class.
Inherited Members
Namespace: DotNetNuke.Services.GeneratedImage.FilterTransform
Assembly: DotNetNuke.dll
Syntax
public class ImageResizeTransform : ImageTransform
Constructors
| Improve this Doc View SourceImageResizeTransform()
Initializes a new instance of the ImageResizeTransform class.
Declaration
public ImageResizeTransform()
Properties
| Improve this Doc View SourceBackColor
Gets or sets the Backcolor.
Declaration
public Color BackColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Border
Gets or sets the border width of the resulting image.
Declaration
public int Border { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Height
Gets or sets the height of the resulting image.
Declaration
public int Height { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxHeight
Gets or sets the max height of the resulting image.
Declaration
public int MaxHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxWidth
Gets or sets the Max width of the resulting image.
Declaration
public int MaxWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Mode
Gets or sets the resize mode. The default value is Fit.
Declaration
public ImageResizeMode Mode { get; set; }
Property Value
Type | Description |
---|---|
ImageResizeMode |
UniqueString
Gets provides an Unique String for this transformation.
Declaration
public override string UniqueString { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceWidth
Gets or sets the width of the resulting image.
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceProcessImage(Image)
Processes an input image applying a resize image transformation.
Declaration
public override Image ProcessImage(Image image)
Parameters
Type | Name | Description |
---|---|---|
Image | image | Input image. |
Returns
Type | Description |
---|---|
Image | Image result after image transformation. |
Overrides
| Improve this Doc View SourceToString()
Resize ImageTransform class.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |