GemBox.Presentation
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    ComponentInfo Class

    Namespace:
    GemBox.Presentation
    Assembly:
    GemBox.Presentation.dll

    Contains static licensing methods and diagnostic information about executing GemBox.Presentation assembly.

    • C#
    • VB.NET
    public static class ComponentInfo
    Public Module ComponentInfo
    Inheritance:
    Object
    ComponentInfo

    Properties

    FullVersion

    Gets GemBox.Presentation assembly full version.

    • C#
    • VB.NET
    public static string FullVersion { get; }
    Public Shared ReadOnly Property FullVersion As String
    Property Value
    String

    GemBox.Presentation assembly full version.

    Title

    Gets GemBox.Presentation assembly title.

    • C#
    • VB.NET
    public static string Title { get; }
    Public Shared ReadOnly Property Title As String
    Property Value
    String

    GemBox.Presentation assembly title.

    Methods

    SetLicense(String)

    Sets the license (serial) key.

    • C#
    • VB.NET
    public static void SetLicense(string serialKey)
    Public Shared Sub SetLicense(serialKey As String)
    Parameters
    serialKey
    String

    The serial key.

    Remarks

    You should call this method before using any other class from GemBox.Presentation assembly.

    Key can only be set once (if you try another key, it will be ignored).

    The best place to call this method is from static constructor of your application's main class.

    Valid serial key has multiple groups of alphanumeric characters, separated with dashes.

    To use the assembly in free limited mode use FREE-LIMITED-KEY as serialKey.

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

    Events

    FreeLimitReached

    Occurs in loading or saving PresentationDocument when GemBox.Presentation assembly is used with FREE-LIMITED-KEY license key and free limit is reached.

    • C#
    • VB.NET
    public static event EventHandler<FreeLimitEventArgs> FreeLimitReached
    Public Shared Event FreeLimitReached As EventHandler(Of FreeLimitEventArgs)
    Event Type
    EventHandler<FreeLimitEventArgs>
    Remarks

    This event is raised when GemBox.Presentation assembly is used with FREE-LIMITED-KEY license key and maximum number of slides per presentation is reached (5 slides).

    Free mode will read / write first 5 slides normally and, if document has more than 5 slides, 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 the entire presentation content but interior word letters will be scrambled on random places and custom promotional header will be inserted to all slides that come after the 5-th slide.
    • write the entire presentation content but will insert custom promotional header to all slides that come after the 5-th slide.

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

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.