1. GroupDocs.Parser
  2. /
  3. GroupDocs.Parser for Python via .NET
  4. /
  5. groupdocs.parser
  6. /
  7. License class
  8. /
  9. set_license method

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