Search Results for

    Show / Hide Table of Contents

    Class ImageRendition

    Defines an available Image Rendition for the current Publishing site.

    Inheritance
    System.Object
    BaseModel
    ImageRendition
    Inherited Members
    BaseModel.ParentTemplate
    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

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer