Hyperlink

Represents a hyperlink.

public sealed class Hyperlink : PVIObject, IHyperlink

Constructors

NameDescription
Hyperlink(ISlide)Creates an instance of a hyperlink which points to specific slide. Note: created hyperlink should be assigned to some object from the same presentation, otherwise link will be saved as NoAction.
Hyperlink(string)Creates an instance of a hyperlink.
Hyperlink(Hyperlink, string, string, bool, bool, bool)Creates an instance of a hyperlink using another hyperlink as source, overriding secondary properties.

Properties

NameDescription
static EndShow { get; }Returns a hyperlink which ends the show. Read-only Hyperlink.
static FirstSlide { get; }Returns a hyperlink to the first slide of the presentation. Read-only Hyperlink.
static LastSlide { get; }Returns a hyperlink to the last slide of the presentation. Read-only Hyperlink.
static LastVievedSlide { get; }Returns a hyperlink to the last viewed slide. Read-only Hyperlink.
static Media { get; }Returns a special “play mediafile” hyperlink. Used in AudioFrame and VideoFrame. Read-only Hyperlink.
static NextSlide { get; }Returns a hyperlink to the next slide. Read-only Hyperlink.
static NoAction { get; }Returns a special “do nothing” hyperlink. Read-only Hyperlink.
static PreviousSlide { get; }Returns a hyperlink to the previous slide. Read-only Hyperlink.
ActionType { get; }Returns type of Hyperlink’s action. Read-only HyperlinkActionType.
AsIPresentationComponent { get; }Allows to get base IPresentationComponent interface. Read-only IPresentationComponent.
ColorSource { get; set; }Represents the source of hyperlink color - either styles or portion format. Read/write HyperlinkColorSource.
ExternalUrl { get; }Specifies the external URL. Read-only String.
ExternalUrlOriginal { get; }Represents a hyperlink that is set for this portion without regard to the actual content of the portion. PowerPoint behaves specifically for links and their corresponding text in a portion. It allows to create text for the hyperlink in the form of a valid URL, different from the real address of the link. In this case, when you view the link in the edit window, it will be changed to match the text portion. This property represents the original value of the hyperlink.
HighlightClick { get; set; }Determines whether the hyperlink should be highlighted on click. Read/write Boolean.
History { get; set; }Determines whether the target of the parent hyperlink shall be added to a list of viewed hyperlinks when it is invoked. Read/write Boolean.
Sound { get; set; }Represents the playing sound of the hyperlink. Read/write IAudio.
StopSoundOnClick { get; set; }Determines whether the sound should be stopped on hyperlink click. Read/write Boolean.
TargetFrame { get; set; }Returns the frame within the parent HTML frameset for the target of the parent hyperlink when one exists. Read/wite String.
TargetSlide { get; }If the Hyperlink targets specific slide returns this slide. Read-only ISlide.
Tooltip { get; set; }Returns the string which may be surfaced in a user interface as associated with the parent hyperlink. Read/write String.

Methods

NameDescription
Equals(IHyperlink)Determines whether the two Hyperlink instances are equal.
override Equals(object)Determines whether the two Hyperlink instances are equal.
override GetHashCode()Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
operator ==Tests two hyperlinks for equality.
operator !=Tests two hyperlinks for inequality.

See Also