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

NameTypeAccessDescription
Uristring?ReadGets the uri.
TypeActionTypeReadThe action type.
NextAnnotations.ActionCollectionReadThe /Next chain — actions that fire after this one.

méthodes

SignatureDescription
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
 Français