Table of Contents

Class ConvertToOptions

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

Defines the options for converting a file to another format

public class ConvertToOptions
Inheritance
ConvertToOptions
Inherited Members

Fields

JpgFormatHeight

When Jpg is used then you also need to specify the jpg height. Defaults to 300

public int JpgFormatHeight

Field Value

int

JpgFormatWidth

When Jpg is used then you also need to specify the jpg width. Defaults to 300

public int JpgFormatWidth

Field Value

int

StreamContent

Return a streaming response or return all bytes at once. Defaults to false

public bool StreamContent

Field Value

bool

Properties

Format

The desired target format for the converted file. Defaults to PDF

public ConvertToFormat Format { get; set; }

Property Value

ConvertToFormat