Class PageImageOptions
Defines the options to configure an image
Inherited Members
Namespace: PnP.Core.Model.SharePoint
Assembly: PnP.Core.dll
Syntax
public class PageImageOptions
Defines the options to configure an image
public class PageImageOptions
Defines the alignment of the image
public PageImageAlignment Alignment { get; set; }
| PageImageAlignment |
Alternative text of the image
public string AlternativeText { get; set; }
| string |
Image caption to show underneath the embedded image
public string Caption { get; set; }
| string |
Defines the actual height of the image
public int? Height { get; set; }
| int? |
Link the image should point to on click
public string Link { get; set; }
| string |
Defines the actual width of the image
public int? Width { get; set; }
| int? |
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; }
| int? |