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

    Show / Hide Table of Contents

    ActionType Enum

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

    Represents actions that could happen when the user clicks on a drawing or hovers over a drawing with a pointing device such as a computer mouse.

    • C#
    • VB.NET
    public enum ActionType
    Public Enum ActionType

    Fields

    HyperlinkToCustomShow

    Start the specified custom slide show with an option to return to the current slide show after the specified custom slide show has ended.

    This action has the following parameters:

    1. required parameter: instance of a CustomSlideShow that specifies the custom slide show that should start. The specified CustomSlideShow must be contained in the same PresentationDocument as the current VisualDrawing; otherwise, exception is thrown.

    2. optional parameter: System.Boolean value that specifies whether to return to the current slide show after the specified custom slide show has ended (true value) or to end the current slide show after the specified custom slide show has ended (false value).

    This value is currently not supported in PDF, XPS, and image formats.

    HyperlinkToEndShow

    Ends the slide show.

    This action has no parameters.

    This value is currently not supported in PDF, XPS, and image formats.

    HyperlinkToFile

    Opens the specified file.

    This action has the following parameter:

    1. required parameter: instance of a System.String that specifies the path to the file that should be opened. The specified path should not be null or System.String.Empty; otherwise, exception is thrown.

    HyperlinkToFirstSlide

    Slide show jumps to the first slide.

    This action has no parameters.

    HyperlinkToLastSlide

    Slide show jumps to the last slide.

    This action has no parameters.

    HyperlinkToLastSlideViewed

    Slide show jumps to the last slide viewed.

    This action has no parameters.

    This value is currently not supported in PDF, XPS, and image formats.

    HyperlinkToNextSlide

    Slide show jumps to the next slide.

    This action has no parameters.

    HyperlinkToOtherPresentation

    Shows the specified presentation with an option to start other presentation show from the specified slide index and with the specified slide title.

    This action has the following parameters:

    1. required parameter: instance of a System.String that specifies the path to the presentation that should be shown. The specified path should not be null or System.String.Empty; otherwise, exception is thrown.

    2. optional parameter: System.Int32 value that specifies the slide index from which the other presentation slide show should start.

    2. optional parameter: System.String value that specifies the slide title of the first slide in the other presentation slide show.

    HyperlinkToPreviousSlide

    Slide show jumps to the previous slide.

    This action has no parameters.

    HyperlinkToSlide

    Slide show jumps to the specified slide.

    This action has the following parameter:

    1. required parameter: instance of a Slide that specifies the slide to which the slide show should jump to. The specified Slide must be contained in the same PresentationDocument as the current VisualDrawing; otherwise, exception is thrown.

    HyperlinkToWebPage

    Opens the specified web page or an application (such as an e-mail client, if specified URL starts with mailto:).

    This action has the following parameter:

    1. required parameter: instance of a System.String that specifies the URL that should be opened. The specified URL should not be null or System.String.Empty; otherwise, exception is thrown. The specified URL should start with a System.Uri.Scheme (such as http://, https://, or mailto:) and should be unescaped.

    None

    Nothing happens when drawing is clicked or hovered over.

    This action has no parameters.

    ObjectAction

    Executes an action (for example, open object or edit object) on an OLE object associated with the current drawing.

    This action has the following parameter:

    1. required parameter: instance of a System.String that specifies the parameters (for example, 'verb=0' or 'verb=1') of the action that should be executed. The specified parameter should not be null or System.String.Empty; otherwise, exception is thrown.

    This value is currently not supported in PDF, XPS, and image formats.

    PlayMedia

    Plays the media (for example, video or audio) associated with the current drawing.

    This action has no parameters.

    This value is currently not supported in PDF, XPS, and image formats.

    RunMacro

    Runs the specified macro (Visual Basic procedure).

    This action has the following parameter:

    1. required parameter: instance of a System.String that specifies the name to the macro that should be run. The specified name should not be null or System.String.Empty; otherwise, exception is thrown.

    This value is currently not supported in PDF, XPS, and image formats.

    RunProgram

    Runs the specified program.

    This action has the following parameter:

    1. required parameter: instance of a System.String that specifies the path to the program that should be run. The specified path should not be null or System.String.Empty; otherwise, exception is thrown.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.