LicenseSetLicense Method (String)
Licenses the component.

Namespace: GroupDocs.Conversion
Assembly: GroupDocs.Conversion (in GroupDocs.Conversion.dll) Version: 19.5.0.0 (19.5)
Syntax
public void SetLicense(
	string licensePath
)

Parameters

licensePath
Type: SystemString
The license path.
Examples
The following example demonstrates how to set a license passing a path to the license file.
C#
string licensePath = "GroupDocs.Viewer.lic";
GroupDocs.Viewer.License lic = new GroupDocs.Viewer.License();
lic.SetLicense(licensePath);
See Also