Hyperlink

Represents a hyperlink.

class Hyperlink : public Aspose::Slides::PVIObject,
                  public Aspose::Slides::IHyperlink

Methods

MethodDescription
bool Equals(System::SharedPtr<System::Object>) overrideDetermines whether the two Hyperlink instances are equal.
virtual bool Equals(ptr)Compares objects using C# Object.Equals semantics.
static std::enable_if<IsSmartPtr<T1>::value&&IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&)Compares reference type objects in C# style.
static bool Equals(float const&, float const&)Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN.
static bool Equals(double const&, double const&)Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN.
virtual bool FastCast(const Details::FastRttiBase&, void **) constFor internal purposes only.
HyperlinkActionType get_ActionType() overrideReturns type of Hyperlink’s action. Read-only HyperlinkActionType.
HyperlinkColorSource get_ColorSource() overrideRepresents the source of hyperlink color - either styles or portion format. Read HyperlinkColorSource.
static System::SharedPtr<Hyperlink> get_EndShow()Returns a hyperlink which ends the show. Read-only Hyperlink.
System::String get_ExternalUrl() overrideSpecifies the external URL. Read-only System::String.
static System::SharedPtr<Hyperlink> get_FirstSlide()Returns a hyperlink to the first slide of the presentation. Read-only Hyperlink.
bool get_HighlightClick() overrideDetermines whether the hyperlink should be highlighted on click. Read bool.
bool get_History() overrideDetermines whether the target of the parent hyperlink shall be added to a list of viewed hyperlinks when it is invoked. Read bool.
static System::SharedPtr<Hyperlink> get_LastSlide()Returns a hyperlink to the last slide of the presentation. Read-only Hyperlink.
static System::SharedPtr<Hyperlink> get_LastVievedSlide()Returns a hyperlink to the last viewed slide. Read-only Hyperlink.
static System::SharedPtr<Hyperlink> get_Media()Returns a special "play mediafile" hyperlink. Used in AudioFrame and VideoFrame. Read-only Hyperlink.
static System::SharedPtr<Hyperlink> get_NextSlide()Returns a hyperlink to the next slide. Read-only Hyperlink.
static System::SharedPtr<Hyperlink> get_NoAction()Returns a special "do nothing" hyperlink. Read-only Hyperlink.
virtual ASPOSE_SLIDES_LOCAL_API System::SharedPtr<IPresentationComponent> get_Parent_IPresentationComponent()Returns parent IPresentationComponent. Read-only IPresentationComponent.
static System::SharedPtr<Hyperlink> get_PreviousSlide()Returns a hyperlink to the previous slide. Read-only Hyperlink.
System::SharedPtr<IAudio> get_Sound() overrideRepresents the playing sound of the hyperlink. Read IAudio.
bool get_StopSoundOnClick() overrideDetermines whether the sound should be stopped on hyperlink click. Read bool.
System::String get_TargetFrame() overrideReturns the frame within the parent HTML frameset for the target of the parent hyperlink when one exists. Read/wite System::String.
System::SharedPtr<ISlide> get_TargetSlide() overrideIf the Hyperlink targets specific slide returns this slide. Read-only ISlide.
System::String get_Tooltip() overrideReturns the string which may be surfaced in a user interface as associated with the parent hyperlink. Read System::String.
Detail::SmartPtrCounter * GetCounter()Gets reference counter data structure associated with the object.
int32_t GetHashCode() const overrideServes as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
virtual const TypeInfo& GetType() constGets actual type of object. Analog of C# System.Object.GetType() call.
Hyperlink(System::String)Creates an instance of a hyperlink.
Hyperlink(System::SharedPtr<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(System::SharedPtr<Hyperlink>, System::String, System::String, bool, bool, bool)Creates an instance of a hyperlink using another hyperlink as source, overriding secondary properties.
virtual bool Is(const TypeInfo&) constCheck if object represents an instance of type described by targetType. Analog of C# ‘is’ operator.
void Lock()Implements C# lock() statement locking. Call directly or use LockContext sentry object.
virtual ptr MemberwiseClone() constAnalog of C# Object.MemberwiseClone() method. Enables cloning custom types.
Object()Creates object. Initializes all internal data structures.
Object(Object const&)Copy constructor. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses.
Object& operator=(Object const&)Assignment operator. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses.
static bool ReferenceEquals(ptr const&, ptr const&)Compares objects by reference.
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, T const&)Compares objects by reference.
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, std::nullptr_t)Reference-compares value type object with nullptr.
bool ReferenceEquals(String const&, std::nullptr_t)Specialization of Object::ReferenceEquals for case of string and nullptr.
bool ReferenceEquals(String const&, String const&)Specialization of Object::ReferenceEquals for case of strings.
int RemovedSharedRefs(int)Decreases shared reference count by specified value.
void set_ColorSource(HyperlinkColorSource) overrideRepresents the source of hyperlink color - either styles or portion format. Write HyperlinkColorSource.
void set_HighlightClick(bool) overrideDetermines whether the hyperlink should be highlighted on click. Write bool.
void set_History(bool) overrideDetermines whether the target of the parent hyperlink shall be added to a list of viewed hyperlinks when it is invoked. Write bool.
void set_Sound(System::SharedPtr<IAudio>) overrideRepresents the playing sound of the hyperlink. Write IAudio.
void set_StopSoundOnClick(bool) overrideDetermines whether the sound should be stopped on hyperlink click. Write bool.
void set_TargetFrame(System::String) overrideReturns the frame within the parent HTML frameset for the target of the parent hyperlink when one exists. Read/wite System::String.
void set_Tooltip(System::String) overrideReturns the string which may be surfaced in a user interface as associated with the parent hyperlink. Write System::String.
virtual void SetTemplateWeakPtr(uint32_t)Set n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
int SharedCount() constGets current value of shared reference counter.
Object * SharedRefAdded()Increments shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
int SharedRefRemovedSafe()Decrements and returns shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
virtual String ToString() constAnalog of C# Object.ToString() method. Enables converting custom objects to string.
static const TypeInfo& Type()Implements C# typeof(System.Object) construct.
void Unlock()Implements C# lock() statement unlocking. Call directly or use LockContext sentry object.
Detail::SmartPtrCounter * WeakRefAdded()Increments weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
void WeakRefRemoved()Decrements weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
ASPOSE_SLIDES_LOCAL_API void WrapperLazyInitialization() const
virtual ~Object()Destroys object. Frees all internal data structures.

See Also