• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class ImageResizeTransform

Resize ImageTransform class.

Inheritance
System.Object
ImageTransform
ImageResizeTransform
Inherited Members
ImageTransform.InterpolationMode
ImageTransform.SmoothingMode
ImageTransform.PixelOffsetMode
ImageTransform.CompositingQuality
ImageTransform.CopyImage(Stream)
Namespace: DotNetNuke.Services.GeneratedImage.FilterTransform
Assembly: DotNetNuke.dll
Syntax
public class ImageResizeTransform : ImageTransform

Constructors

| Improve this Doc View Source

ImageResizeTransform()

Initializes a new instance of the ImageResizeTransform class.

Declaration
public ImageResizeTransform()

Properties

| Improve this Doc View Source

BackColor

Gets or sets the Backcolor.

Declaration
public Color BackColor { get; set; }
Property Value
Type Description
Color
| Improve this Doc View Source

Border

Gets or sets the border width of the resulting image.

Declaration
public int Border { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Height

Gets or sets the height of the resulting image.

Declaration
public int Height { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MaxHeight

Gets or sets the max height of the resulting image.

Declaration
public int MaxHeight { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MaxWidth

Gets or sets the Max width of the resulting image.

Declaration
public int MaxWidth { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Mode

Gets or sets the resize mode. The default value is Fit.

Declaration
public ImageResizeMode Mode { get; set; }
Property Value
Type Description
ImageResizeMode
| Improve this Doc View Source

UniqueString

Gets provides an Unique String for this transformation.

Declaration
public override string UniqueString { get; }
Property Value
Type Description
System.String
Overrides
ImageTransform.UniqueString
| Improve this Doc View Source

Width

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 Source

ProcessImage(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
ImageTransform.ProcessImage(Image)
| Improve this Doc View Source

ToString()

Resize ImageTransform class.

Declaration
public override string ToString()
Returns
Type Description
System.String

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS