LicenseSetLicense Method (String)
Licenses the component.

Namespace: GroupDocs.Parser
Assembly: GroupDocs.Parser (in GroupDocs.Parser.dll) Version: 19.9
Syntax
public void SetLicense(
	string filePath
)

Parameters

filePath
Type: SystemString
Absolute path to license file.
Examples

The following example demonstrates how to set a license passing a path to the license file.

C#
string licensePath = "LicenseFile.lic"";
GroupDocs.Parser.License license = new GroupDocs.Parser.License();
lic.SetLicense(licensePath);
See Also