Aplicar uma chave de licença no IronXL for Python
A chave de licença é uma longa sequência de caracteres que termina com uma data de expiração. Certifique-se de que este texto foi copiado corretamente, sem espaços.
# 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"
O método mais robusto para aplicar uma chave de licença é diretamente no seu código, antes da biblioteca ser chamada.
# 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"
Para mais opções, incluindo configuração via web.config e appsettings.json, consulte a seguinte página de FAQ para mais informações:

