在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
有關更多選項,包括通過appsettings.json配置,請參閱以下的常見問題頁面以獲得更多資訊:







