• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ShapeAction

Represents the action triggered by a single mouse gesture (click or hover) on a shape. Maps to the OOXML a:hlinkClick or a:hlinkHover element.

Inheritance
object
ShapeAction
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public class ShapeAction

Constructors

ShapeAction()

Initializes a new instance with ActionType set to None.

Declaration
public ShapeAction()

Properties

ActionType

Gets or sets the type of action to perform.

Declaration
public Action ActionType { get; set; }
Property Value
Type Description
Action

HyperlinkUri

Gets or sets the external hyperlink URI when ActionType is Hyperlink.

Declaration
public string HyperlinkUri { get; set; }
Property Value
Type Description
string

IsConfigured

Gets whether this action is configured (i.e. not None).

Declaration
public bool IsConfigured { get; }
Property Value
Type Description
bool

MacroName

Gets or sets the macro name to run when ActionType is RunMacro.

Declaration
public string MacroName { get; set; }
Property Value
Type Description
string

NamedSlideShow

Gets or sets the named slide show to run when ActionType is NamedSlideShow.

Declaration
public string NamedSlideShow { get; set; }
Property Value
Type Description
string

ProgramPath

Gets or sets the program path to run when ActionType is RunProgram.

Declaration
public string ProgramPath { get; set; }
Property Value
Type Description
string

TargetSlideIndex

Gets or sets the target slide index (0-based) for slide-navigation actions (FirstSlide, LastSlide, NextSlide, PreviousSlide, LastSlideViewed).

Declaration
public int? TargetSlideIndex { get; set; }
Property Value
Type Description
int?

Tooltip

Gets or sets the tooltip text shown when hovering over the shape.

Declaration
public string Tooltip { get; set; }
Property Value
Type Description
string
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX