在 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 進行的設定),請參閱以下常見問題頁面以獲取更多資訊:







