在 IronXL for Python 中应用许可证密钥
This article was translated from English: Does it need improvement?
TranslatedView the article in English
许可证密钥是以到期日期结束的长字符串。 请确保正确复制,无空格。
# Apply the license key to the IronXL library
# Replace 'YOUR_LICENSE_KEY' with your actual license key string
IronXL.License.Key = "IRONXL-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050"# Apply the license key to the IronXL library
# Replace 'YOUR_LICENSE_KEY' with your actual license key string
IronXL.License.Key = "IRONXL-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050"PYTHON
应用许可证密钥的最可靠方法是在调用库之前直接在代码中。
# Set the license key for the IronXL library at the start of your program
# This helps to ensure that the library recognizes your license as soon as it is needed
IronXL.License.Key = "IRONXL-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050"# Set the license key for the IronXL library at the start of your program
# This helps to ensure that the library recognizes your license as soon as it is needed
IronXL.License.Key = "IRONXL-MYLICENSE-KEY-RENEW.SUPPORT.01.JAN.2050"PYTHON
如需了解更多选项,包括通过web.config和appsettings.json进行配置,请参阅以下常见问题解答页面以获取更多信息:







