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

Class ImageFileTransform

Image File ImageTransform class.

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

Constructors

| Improve this Doc View Source

ImageFileTransform()

Initializes a new instance of the ImageFileTransform class.

Declaration
public ImageFileTransform()

Properties

| Improve this Doc View Source

EmptyImage

Gets or sets the Image to return if no image or error.

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

ImageFilePath

Gets or sets file path of the image.

Declaration
public string ImageFilePath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ImageUrl

Gets or sets url of the image.

Declaration
public string ImageUrl { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

UniqueString

Gets provides an Unique String for the image transformation.

Declaration
public override string UniqueString { get; }
Property Value
Type Description
System.String
Overrides
ImageTransform.UniqueString

Methods

| Improve this Doc View Source

ProcessImage(Image)

Processes an input image applying a file image transformation. This will return an image after read the stream from the File Path ImageFilePath or Url ImageUrl.

Declaration
public override Image ProcessImage(Image image)
Parameters
Type Name Description
Image image

Input image.

Returns
Type Description
Image

Image result after file image transformation.

Overrides
ImageTransform.ProcessImage(Image)

Extension Methods

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