Search Results for

    Show / Hide Table of Contents

    Class PageImageOptions

    Defines the options to configure an image

    Inheritance
    System.Object
    PageImageOptions
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public class PageImageOptions : object

    Properties

    Alignment

    Defines the alignment of the image

    Declaration
    public PageImageAlignment Alignment { get; set; }
    Property Value
    PageImageAlignment

    AlternativeText

    Alternative text of the image

    Declaration
    public string AlternativeText { get; set; }
    Property Value
    System.String

    Caption

    Image caption to show underneath the embedded image

    Declaration
    public string Caption { get; set; }
    Property Value
    System.String

    Height

    Defines the actual height of the image

    Declaration
    public int? Height { get; set; }
    Property Value
    System.Nullable<System.Int32>

    Link

    Link the image should point to on click

    Declaration
    public string Link { get; set; }
    Property Value
    System.String

    Width

    Defines the actual width of the image

    Declaration
    public int? Width { get; set; }
    Property Value
    System.Nullable<System.Int32>

    WidthPercentage

    Defines the width of the image relative to editor control it's placed in. The Width, Height and this property need to be all set to end up to get a functional inline image. When using PnP.Core.Model.SharePoint.Page.EditorType equal to CK4 then the WidthPercentage property is not used.

    Declaration
    public int? WidthPercentage { get; set; }
    Property Value
    System.Nullable<System.Int32>

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer