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

Class PlaceholderTransform

Placeholder ImageTransform class.

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

Constructors

| Improve this Doc View Source

PlaceholderTransform()

Initializes a new instance of the PlaceholderTransform class.

Declaration
public PlaceholderTransform()

Properties

| Improve this Doc View Source

BackColor

Gets or sets the backcolor of the placeholder element.

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

Color

Gets or sets the Color of the border and text element.

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

Height

Gets or sets the Height of the placeholder image.

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

Text

Gets or sets the text of the placeholder image. if blank dimension will be used.

Declaration
public string Text { 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
| Improve this Doc View Source

Width

Gets or sets the width of the placeholder 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 returning a placeholder image.

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)

Extension Methods

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