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

    Show / Hide Table of Contents

    HtmlLoadOptions Class

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

    Represents a class that stores loading options for HTML content for presentation

    • C#
    • VB.NET
    public sealed class HtmlLoadOptions : LoadOptions
    Public NotInheritable Class HtmlLoadOptions
        Inherits LoadOptions
    Inheritance:
    System.Object
    LoadOptions
    HtmlLoadOptions

    Constructors

    HtmlLoadOptions()

    Initializes a new instance of the HtmlLoadOptions class.

    • C#
    • VB.NET
    public HtmlLoadOptions()
    Public Sub New

    Properties

    InheritCharacterFormat

    Gets or sets a value indicating whether the character format should be inherited from the position where the HTML is being inserted.

    The default value is false.

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

    This property is currently used only when loading HTML into a container with existing content.

    InheritParagraphFormat

    Gets or sets a value indicating whether the paragraph format should be inherited from the position where the HTML is being inserted.

    The default value is false.

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

    This property is currently used only when loading HTML into a container with existing content.

    Inherited Properties

    Html

    Gets the default loading options for HTML content.

    (Inherited from LoadOptions)

    Ppt

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

    (Inherited from LoadOptions)

    Pptx

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

    (Inherited from LoadOptions)

    PreserveUnsupportedFeatures

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

    (Inherited from LoadOptions)

    Examples

    Load HTML content into presentation in C# and VB.NET

    See Also

    Html
    LoadText(String, HtmlLoadOptions)
    LoadText(String, HtmlLoadOptions)
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.