Table of Contents

Class CustomThumbnailOptions

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

Options to define a custom thumbnail to retrieve

public class CustomThumbnailOptions
Inheritance
CustomThumbnailOptions
Inherited Members

Properties

Cropped

Generate a thumbnail that fits inside a Width x Height pixel box, maintaining aspect ratio, followed by resizing the image to fill the Width x Height box and cropping whatever spills outside the box.

public bool Cropped { get; set; }

Property Value

bool

Height

Generate a thumbnail that fits inside a Width x Height pixel box, maintaining aspect ratio

public int Height { get; set; }

Property Value

int

Width

Generate a thumbnail that fits inside a Width x Height pixel box, maintaining aspect ratio

public int Width { get; set; }

Property Value

int