GemBox.Presentation
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    LoadOptions Class

    Namespace:
    GemBox.Presentation
    Assembly:
    GemBox.Presentation.dll

    Represents a base class for loading options of various file formats.

    • C#
    • VB.NET
    public abstract class LoadOptions
    Public MustInherit Class LoadOptions
    Inheritance:
    System.Object
    LoadOptions
    Derived
    HtmlLoadOptions
    PptLoadOptions
    PptxLoadOptions
    Remarks

    To preserve unsupported file format features, set PreserveUnsupportedFeatures to true.

    Properties

    Html

    Gets the default loading options for HTML content.

    • C#
    • VB.NET
    public static HtmlLoadOptions Html { get; }
    Public Shared ReadOnly Property Html As HtmlLoadOptions
    Property Value
    HtmlLoadOptions

    The default loading options for HTML content.

    Remarks

    This property always returns a new instance of HtmlLoadOptions class initialized with default constructor.

    Ppt

    Gets the default loading options for PowerPoint 97-2003 Presentation (PPT) format.

    • C#
    • VB.NET
    public static PptLoadOptions Ppt { get; }
    Public Shared ReadOnly Property Ppt As PptLoadOptions
    Property Value
    PptLoadOptions

    The default loading options for PowerPoint 97-2003 Presentation (PPT) format.

    Remarks

    This property always returns a new instance of PptLoadOptions class initialized with default constructor.

    Pptx

    Gets the default loading options for PowerPoint Presentation (PPTX) format.

    • C#
    • VB.NET
    public static PptxLoadOptions Pptx { get; }
    Public Shared ReadOnly Property Pptx As PptxLoadOptions
    Property Value
    PptxLoadOptions

    The default loading options for PowerPoint Presentation (PPTX) format.

    Remarks

    This property always returns a new instance of PptxLoadOptions class initialized with default constructor.

    PreserveUnsupportedFeatures

    Gets or sets a value indicating whether to preserve file format features that are not directly supported through GemBox.Presentation object model.

    • C#
    • VB.NET
    public bool PreserveUnsupportedFeatures { get; set; }
    Public Property PreserveUnsupportedFeatures As Boolean
    Property Value
    System.Boolean

    true to preserve file format features that are not directly supported through GemBox.Presentation object model; otherwise, false.

    Remarks

    Default value is set to true.

    Examples

    Convert PowerPoint files to PDF in C# and VB.NET
    Load and Save PPTX in C# and VB.NET
    Read PowerPoint Files in C# and VB.NET
    Load HTML content into presentation in C# and VB.NET

    See Also

    Load(String)
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.