set_license method
set_license
Licenses the component.
def set_license(self, file_path):
...
| Parameter | Type | Description |
|---|---|---|
| file_path | System.String | Absolute path to license file. |
Example
The following example demonstrates how to set a license passing a path to the license file.
set_license
Licenses the component.
def set_license(self, stream):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | License stream. |
Example
The following example demonstrates how to set a license passing Stream of the license file.
See Also
- module
groupdocs.parser - class
License