Class ImageRendition
Defines an available Image Rendition for the current Publishing site.
Inherited Members
Namespace: PnP.Framework.Provisioning.Model
Assembly: PnP.Framework.dll
Syntax
public class ImageRendition : BaseModel, IProvisioningTemplateDescendant
Properties
Height
Defines the height of the Image Rendition for the current Publishing site, required attribute.
Declaration
public Int32 Height { get; set; }
Property Value
Int32
|
Name
Defines the name of the Image Rendition for the current Publishing site, required attribute.
Declaration
public String Name { get; set; }
Property Value
String
|
Width
Defines the width of the Image Rendition for the current Publishing site, required attribute.
Declaration
public Int32 Width { get; set; }
Property Value
Int32
|
Methods
Equals(ImageRendition)
Compares ImageRendition object based on Name, Width, and Height
Declaration
public bool Equals(ImageRendition other)
Parameters
ImageRendition
other
ImageRendition Class object |
Returns
System.Boolean
true if the ImageRendition object is equal to the current object; otherwise, false. |
Equals(Object)
Compares object with ImageRendition class
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object that represents ImageRendition |
Returns
System.Boolean
Checks whether object is ImageRendition class |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Returns HashCode |