Class PlaceholderTransform
Placeholder ImageTransform class.
Inherited Members
Namespace: DotNetNuke.Services.GeneratedImage.StartTransform
Assembly: DotNetNuke.dll
Syntax
public class PlaceholderTransform : ImageTransform
Constructors
| Improve this Doc View SourcePlaceholderTransform()
Initializes a new instance of the PlaceholderTransform class.
Declaration
public PlaceholderTransform()
Properties
| Improve this Doc View SourceBackColor
Gets or sets the backcolor of the placeholder element.
Declaration
public Color BackColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Color
Gets or sets the Color of the border and text element.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
Height
Gets or sets the Height of the placeholder image.
Declaration
public int Height { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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 |
UniqueString
Gets provides an Unique String for the image 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 placeholder image.
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceProcessImage(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. |