| ImageGear Professional v18.2 > API Reference Guide > PDF Component API Reference > PDF Component Objects > General API > IGPDFCtl Control > IGPDFCtl Methods > CreateActionFromFileName Method |
Creates an action of the specified type from a file name.
CreateActionFromFileName(Document As IGPDFDoc, Type As
IGPDFAtom, FileName As String) As IGPDFAction
| Name | Description |
|---|---|
| Document | The document in which the action is created and used. |
| Type | The type of action to create. |
| FileName | The file name. |
The newly created IGPDFAction Object.