Aspose::Cells::License class
Contents
[
Hide
]License class
Provides methods to license the component.
class License
Methods
Method | Description |
---|---|
IsNull() const | Checks whether the implementation object is nullptr. |
License() | Default constructor. |
License(License_Impl* impl) | Constructs from an implementation object. Internal use. |
License(const License& src) | Copy constructor. |
explicit operator bool() const | operator bool() |
operator=(const License& src) | operator= |
SetLicense(U16String& licenseName) | Licenses the component. |
SetLicense(const char16_t* licenseName) | Licenses the component. |
SetLicense(Vector <uint8_t>& stream) | Licenses the component. |
~License() | Destructor. |
Fields
Field | Description |
---|---|
_impl | The implementation object. |
Examples
Aspose::Cells::Startup();
//In this example, an attempt will be made to find a license file named MyLicense.lic
//in the folder that contains
License license;
license.SetLicense(u"License.lic");//your license file
Aspose::Cells::Cleanup();
See Also
- Namespace Aspose::Cells
- Library Aspose.Cells for C++