Search Results for

    Show / Hide Table of Contents

    Class ConvertToOptions

    Defines the options for converting a file to another format

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

    Fields

    JpgFormatHeight

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

    Declaration
    public int JpgFormatHeight
    Field Value
    System.Int32

    JpgFormatWidth

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

    Declaration
    public int JpgFormatWidth
    Field Value
    System.Int32

    StreamContent

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

    Declaration
    public bool StreamContent
    Field Value
    System.Boolean

    Properties

    Format

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

    Declaration
    public ConvertToFormat Format { get; set; }
    Property Value
    ConvertToFormat

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