UriAction
Vue de l’ensemble
‘UriAction’ est une classe dans Aspose.PDF FOSS pour .NET. hérite de: PdfAction.
Cette classe fournit 7 méthodes pour travailler avec les objets UriAction dans des programmes .NET. Les méthodologies disponibles comprennent: ‘CreateGoTo’, ‘CréateJavaScript’, CreatLaunch', ‘CreadeNamed’, 'createUri', ’GetECMAScriptString, ‘ToStrin’. Tous les membres publics sont accessibles à n’importe quelle application .Net après l’installation de l’Aspose.PDF FOSS pour le package .net. Propriétés: Next , ‘Type et 'Ury.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
Uri | string? | Read | Gets the uri. |
Type | ActionType | Read | The action type. |
Next | Annotations.ActionCollection | Read | The /Next chain — actions that fire after this one. |
méthodes
| Signature | Description |
|---|---|
GetECMAScriptString() | For JavaScript actions, returns the embedded script; otherwise an empty string. |
CreateGoTo(pageIndex: int, fitType: string) | Create a GoTo action targeting a page index with the specified fit type. |
CreateUri(uri: string) | Create a URI action that opens the specified URL. |
CreateJavaScript(script: string) | Create a JavaScript action that executes the specified script. |
CreateNamed(name: string) | Create a Named action (e.g., NextPage, PrevPage, FirstPage, LastPage). |
CreateLaunch(filePath: string) | Create a Launch action that opens the specified file. |
ToString() | Human-readable representation of this appointment target. |
Voir aussi
- Aspose.PDF pour .NET — API d’entreprise