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
Defines the options to configure an image
public class PageImageOptions : object
Defines the alignment of the image
public PageImageAlignment Alignment { get; set; }
PageImageAlignment
|
Alternative text of the image
public string AlternativeText { get; set; }
System.String
|
Image caption to show underneath the embedded image
public string Caption { get; set; }
System.String
|
Defines the actual height of the image
public int? Height { get; set; }
System.Nullable<System.Int32>
|
Link the image should point to on click
public string Link { get; set; }
System.String
|
Defines the actual width of the image
public int? Width { get; set; }
System.Nullable<System.Int32>
|
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.
public int? WidthPercentage { get; set; }
System.Nullable<System.Int32>
|