Class ImageFileTransform
Image File ImageTransform class.
Inherited Members
Namespace: DotNetNuke.Services.GeneratedImage.StartTransform
Assembly: DotNetNuke.dll
Syntax
public class ImageFileTransform : ImageTransform
Constructors
| Improve this Doc View SourceImageFileTransform()
Initializes a new instance of the ImageFileTransform class.
Declaration
public ImageFileTransform()
Properties
| Improve this Doc View SourceEmptyImage
Gets or sets the Image to return if no image or error.
Declaration
public Image EmptyImage { get; set; }
Property Value
Type | Description |
---|---|
Image |
ImageFilePath
Gets or sets file path of the image.
Declaration
public string ImageFilePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ImageUrl
Gets or sets url of the image.
Declaration
public string ImageUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UniqueString
Gets provides an Unique String for the image transformation.
Declaration
public override string UniqueString { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
| Improve this Doc View SourceProcessImage(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. |