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

    Show / Hide Table of Contents

    PdfLoadOptions Class

    Namespace:
    GemBox.Document
    Assembly:
    GemBox.Document.dll

    Represents a class that stores loading options for Portable Document Format (PDF).

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

    For more information about PDF reading, see support level for reading PDF format.

    Constructors

    PdfLoadOptions()

    Initializes a new instance of the PdfLoadOptions class.

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

    Properties

    LoadType

    Gets or sets the strategy that should be used when loading this document.

    By default, the loading type is Logical

    • C#
    • VB.NET
    public PdfLoadType LoadType { get; set; }
    Public Property LoadType As PdfLoadType
    Property Value
    PdfLoadType

    The strategy that should be used when loading this document.

    Password

    Gets or sets the password to open protected / encrypted PDF document.

    • C#
    • VB.NET
    public string Password { get; set; }
    Public Property Password As String
    Property Value
    System.String

    The password to open protected / encrypted PDF document.

    Remarks

    Opening an encrypted PDF document with not specified or invalid password raises System.InvalidOperationException.

    If PDF document is not encrypted, then value of this property is simply ignored.

    For an example of reading and/or writing encrypted PDF file, see PDF encryption example.

    Inherited Properties

    DocDefault

    Gets the default loading options for Microsoft Word 97-2003 (DOC) format.

    (Inherited from LoadOptions)

    DocxDefault

    Gets the default loading options for Microsoft Word (DOCX) format.

    (Inherited from LoadOptions)

    HtmlDefault

    Gets the default loading options for HyperText Markup Language (HTML) format.

    (Inherited from LoadOptions)

    OdtDefault

    Gets the default loading options for Open Document (ODT) format.

    (Inherited from LoadOptions)

    PdfDefault

    Gets the default loading options for Portable Document Format (PDF).

    (Inherited from LoadOptions)

    PreserveUnsupportedFeatures

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

    (Inherited from LoadOptions)

    RtfDefault

    Gets the default loading options for Rich Text (RTF) format.

    (Inherited from LoadOptions)

    TxtDefault

    Gets the default loading options for Plain Text (TXT) format.

    (Inherited from LoadOptions)

    XmlDefault

    Gets the default loading options for XML file format.

    (Inherited from LoadOptions)

    Examples

    Convert Word and HTML to PDF in C# and VB.NET
    Read and Extract PDF Text in C# and VB.NET

    See Also

    PdfDefault
    Load(String, LoadOptions)
    Load(Stream, LoadOptions)
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.