License Class

Summary: Provides methods to license the component.

Module: aspose.imaging

Full Name: aspose.imaging.License

Constructors

NameDescription
License()Initializes a new instance of the License class.
Initializes a new instance of this class.

Methods

NameDescription
set_license(license_name)Licenses the component.
set_license(stream)Licenses the component.
set_license_stream(stream)Licenses the component.

Constructor: License()

 License() 

Initializes a new instance of the License class.
Initializes a new instance of this class.

Method: set_license(license_name)

 set_license(license_name) 

Licenses the component.

Parameters:

ParameterTypeDescription
license_namestringCan be a full or short file name . Use an empty string to switch to evaluation mode.

Method: set_license(stream)

 set_license(stream) 

Licenses the component.

Parameters:

ParameterTypeDescription
stream_io.BufferedRandomA stream that contains the license.

Method: set_license_stream(stream)

 set_license_stream(stream) 

Licenses the component.

Parameters:

ParameterTypeDescription
stream_io.BufferedRandomA stream that contains the license.