alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class LoadOptions

    Represents the options used when loading a presentation or markdown document.

    Inheritance
    object
    LoadOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Presentation
    Assembly: Syncfusion.Presentation.NET.dll
    Syntax
    public class LoadOptions

    Constructors

    LoadOptions()

    Declaration
    public LoadOptions()

    Properties

    FormatType

    Gets or sets the format type of the presentation to open.

    Declaration
    public FormatType FormatType { get; set; }
    Property Value
    Type Description
    FormatType

    The FormatType value.

    Examples
    //Create a new instance of LoadOptions.
    LoadOptions loadOptions = new LoadOptions();
    //Set the format type.
    loadOptions.FormatType = FormatType.Pptx;
    //Open the presentation with LoadOptions.
    IPresentation presentation = Presentation.Open("Input.pptx", loadOptions);
    //Save the presentation.
    presentation.Save("Output.pptx");
    //Close the presentation.
    presentation.Close();

    MdImportSettings

    Gets or sets the Markdown import settings used when opening a Markdown document for presentation conversion.

    Declaration
    public MdImportSettings MdImportSettings { get; set; }
    Property Value
    Type Description
    MdImportSettings

    The MdImportSettings instance.

    Examples
    //Create a new instance of LoadOptions.
    LoadOptions loadOptions = new LoadOptions();
    //Set the format type.
    loadOptions.FormatType = FormatType.Markdown;
    //Set the Markdown import settings.
    loadOptions.MdImportSettings = new MdImportSettings();
    loadOptions.MdImportSettings.UseThematicBreakAsContentBreak = true;
    //Open the MD file with LoadOptions.
    IPresentation presentation = Presentation.Open("Input.md", loadOptions);
    //Save the presentation.
    presentation.Save("Output.pptx");
    //Close the presentation.
    presentation.Close();

    Password

    Gets or sets the password required to open the encrypted presentation.

    Declaration
    public string Password { get; set; }
    Property Value
    Type Description
    string

    The password.

    Examples
    //Create a new instance of LoadOptions.
    LoadOptions loadOptions = new LoadOptions();
    //Set the password for encrypted presentation.
    loadOptions.Password = "MYPASSWORD!@#$%";
    //Open the presentation with LoadOptions.
    IPresentation presentation = Presentation.Open("Input.pptx", loadOptions));
    //Save the presentation.
    presentation.Save("Output.pptx");
    //Close the presentation.
    presentation.Close();
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved