Gembox.document License Key -

static void Main()

if (ComponentInfo.IsLicensed)

var paragraph = new Paragraph(document, "INVOICE #1001"); paragraph.ParagraphFormat.Alignment = HorizontalAlignment.Center; section.Blocks.Add(paragraph); Gembox.document License Key

Double-check the key for missing dashes or spaces. Ensure you are using the correct key type for your project’s revenue bracket. Problem 2: Watermark Still Appears After Setting Key Cause: You are setting the license key after creating a DocumentModel object or after rendering a document. static void Main() if (ComponentInfo

Console.WriteLine("Trial mode. Output will contain evaluation notices."); Gembox.document License Key

ComponentInfo.SetLicense((string)ConfigurationManager.AppSettings["GemBox.Document.LicenseKey"]); You can programmatically check if the license is valid: