License
License class
Provides methods to license the component.
Methods
constructor
Name | Description |
---|---|
constructor() | Initializes a new instance of this class. |
Result:
setLicense
Name | Description |
---|---|
setLicense(licenseName) | Licenses the component. Tries to find the license in the following locations:1. Explicit path.2. The folder that contains the Aspose component JAR file.3. The folder that contains the client’s calling JAR file. |
Result:
setLicense
Name | Description |
---|---|
setLicense(stream) | Licenses the component. Use this method to load a license from a stream. |
Parameters:
Name | Type | Description |
---|---|---|
stream | InputStream | A stream that contains the license. |
Result: