|
com.aspose.pdf.elements
Class JavaScript
java.lang.Object
com.aspose.pdf.elements.JavaScript
public class JavaScript - extends java.lang.Object
Represents a JavaScript in Pdf document.
|
Constructor Summary |
JavaScript()
Initializes a new instance of the JavaScript class. |
JavaScript(java.lang.String script)
Initializes a new instance of the JavaScript class from a script string. |
|
Method Summary |
java.lang.String |
getID()
Gets a string that indicates the ID of the JavaScript. |
java.lang.String |
getScriptContent()
Gets a string that indicates the JavaScript. |
void |
setID(java.lang.String ID)
Sets a string that indicates the ID of the JavaScript. |
void |
setScriptContent(java.lang.String script)
Sets a string that indicates the JavaScript. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaScript
public JavaScript()
- Initializes a new instance of the JavaScript class.
JavaScript
public JavaScript(java.lang.String script)
- Initializes a new instance of the JavaScript class from a script string.
getScriptContent
public java.lang.String getScriptContent()
- Gets a string that indicates the JavaScript.
setScriptContent
public void setScriptContent(java.lang.String script)
- Sets a string that indicates the JavaScript.
getID
public java.lang.String getID()
- Gets a string that indicates the ID of the JavaScript.
setID
public void setID(java.lang.String ID)
- Sets a string that indicates the ID of the JavaScript.
|