• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class LaunchAction

A launch action (spec §12.6.4.5) that launches an application or opens a file. The behaviour is platform-dependent and controlled by the viewer.

Inheritance
object
PdfAction
LaunchAction
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Pdf.Actions
Assembly: DRIT.Pdf.dll
Syntax
public sealed class LaunchAction : PdfAction

Constructors

LaunchAction(string)

Creates a launch action that opens the specified file.

Declaration
public LaunchAction(string filePath)
Parameters
Type Name Description
string filePath

The path of the file to open.

Properties

FilePath

The file to launch or open.

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

NewWindow

Open the file in a new window. Null = viewer default.

Declaration
public bool? NewWindow { get; set; }
Property Value
Type Description
bool?

Type

The action subtype identifying this action's type.

Declaration
public override ActionType Type { get; }
Property Value
Type Description
ActionType
Overrides
PdfAction.Type
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX