com.grapecity.documents.excel Package / Workbook Class / Workbook Constructor / Workbook Constructor(String,WorkbookOptions)
license key.
The workbook options.
In This Topic
Workbook Constructor(String,WorkbookOptions)
In This Topic
Creates a workbook and apply the specified license.

Important: For licenses of the Chinese market, use @code:SetLicenseFile orset license in the @code:GCEXCEL_JAVA_DEPLOY_LICENSE_V7 environment variable instead.

Syntax
public Workbook( 
   java.lang.String licenseKey,
   WorkbookOptions options
)

Parameters

licenseKey
license key.
options
The workbook options.
See Also