Click or drag to resize
ComponentInfoFreeLimitReached Event
Occurs in loading or saving DocumentModel when GemBox.Document assembly is used with FREE-LIMITED-KEY license key and free limit is reached.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1255
Syntax
public static event EventHandler<FreeLimitEventArgs> FreeLimitReached

Value

Type: SystemEventHandlerFreeLimitEventArgs
Remarks
This event is raised when GemBox.Document assembly is used with FREE-LIMITED-KEY license key and maximum number of paragraphs per document is reached (20 paragraphs).

Free mode will read / write first 20 paragraphs normally and, if document has more than 20 paragraph, it will throw FreeLimitReachedException.

You can use this event to continue using the assembly in a trial mode for performance testing (set FreeLimitReachedAction to ContinueAsTrial) or to stop further reading/writing (set FreeLimitReachedAction to Stop).

Trial mode will:
  • read all document content but will insert word "TRIAL" on random places in the document.
  • write all document content but will insert custom promotional header to all pages that come after 20th paragraph.

For more information about GemBox.Document evaluation and licensing, see evaluation and licensing.

See Also