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

    Show / Hide Table of Contents

    PdfOpenFileAction Class

    Namespace:
    GemBox.Pdf.Actions
    Assembly:
    GemBox.Pdf.dll

    A PdfOpenFileAction launches an application or opens or prints a document.

    • C#
    • VB.NET
    public sealed class PdfOpenFileAction : PdfAction
    Public NotInheritable Class PdfOpenFileAction
        Inherits PdfAction
    Inheritance:
    System.Object
    PdfObject
    PdfAction
    PdfOpenFileAction

    Properties

    ActionType

    Gets the OpenFile value.

    • C#
    • VB.NET
    public override PdfActionType ActionType { get; }
    Public Overrides ReadOnly Property ActionType As PdfActionType
    Property Value
    PdfActionType

    The OpenFile value.

    Overrides
    PdfAction.ActionType

    FilePath

    The application that shall be launched or the document that shall be opened or printed.

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

    The application that shall be launched or the document that shall be opened or printed.

    Exceptions
    System.ArgumentNullException

    Value is null or System.String.Empty.

    See Also
    PDF Specification ISO 32000-1:2008, section '12.6.4.5 Launch Actions'

    Inherited Properties

    Metadata

    (Optional; PDF 1.4) A metadata stream containing metadata for the component.

    (Inherited from PdfObject)

    Extension Methods

    PdfObjectExtensions.GetDictionary(PdfObject)
    PdfObjectExtensions.GetOrAddDictionary(PdfObject)
    PdfObjectExtensions.GetArray(PdfObject)

    See Also

    PDF Specification ISO 32000-1:2008, section '12.6.4.5 Launch Actions'
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.