Set the license for a document.
Namespace:
IpernityNET.IpernityObjectsAssembly: IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)
Syntax
| C# |
|---|
public void SetLicense( License license ) |
| Visual Basic (Declaration) |
|---|
Public Sub SetLicense ( _ license As License _ ) |
| Visual C++ |
|---|
public: void SetLicense( License license ) |
Parameters
- license
- Type: IpernityNET..::.License
The new License for the document.
Remarks
This method encapsulates doc.setLicense
"write" permission on docs.
Exceptions
| Exception | Condition |
|---|---|
| IpernityNET..::.IpernityException | Throwed when Ipernity returned an error |
| IpernityNET.IpernityObjects..::.ObjectNotConfiguredException | Throwed when an Ipernity object has not been configured. |