## LaunchAction class


Represents a launch action that launches an application or opens or prints a document.

```cpp
class LaunchAction : public Aspose::Pdf::Annotations::PdfAction
```

## Methods

| Method | Description |
| --- | --- |
| [get_File](./get_file/)() | Gets the application to be launched or the document to be opened or printed. |
| [get_NewWindow](./get_newwindow/)() | Gets a flag specifying whether to open the destination document in a new window (affect PDF documents only). |
| [LaunchAction](./launchaction/)(const System::String\&) | Creates a launch action. |
| [LaunchAction](./launchaction/)(const System::SharedPtr\<Document\>\&, const System::String\&) | Creates a launch action. |
| [set_File](./set_file/)(const System::String\&) | Sets the application to be launched or the document to be opened or printed. |
| [set_NewWindow](./set_newwindow/)(ExtendedBoolean) | Sets a flag specifying whether to open the destination document in a new window (affect PDF documents only). |
## See Also

* Class [PdfAction](../pdfaction/)
* Namespace [Aspose::Pdf::Annotations](../)
* Library [Aspose.PDF for C++](../../)
