API Reference

Class

PowerPointTextRun

Namespace OfficeIMO.PowerPoint
Assembly OfficeIMO.PowerPoint

Represents a formatted text run within a paragraph.

Inheritance

  • Object
  • PowerPointTextRun

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Methods

public Void ClearClickSound() #
Returns: Void

Removes the sound played when this text run is clicked.

public Void ClearMouseOverSound() #
Returns: Void

Removes the sound played when the pointer enters this text run.

public Byte[] GetClickSoundBytes() #
Returns: Byte[]

Returns the exact embedded click-sound bytes, when present.

public Byte[] GetMouseOverSoundBytes() #
Returns: Byte[]

Returns the exact embedded mouse-over-sound bytes, when present.

public Void SetClickSound(Stream audio, String name, String contentType = "audio/wav", String extension = ".wav") #
Returns: Void

Sets an embedded WAV or AIFF sound played when this text run is clicked.

Parameters

audio System.IO.Stream requiredposition: 0
name System.String requiredposition: 1
contentType System.String = "audio/wav" optionalposition: 2
extension System.String = ".wav" optionalposition: 3
public Void SetClickStopsSound(Boolean value) #
Returns: Void

Controls whether clicking this text run stops the currently playing sound.

Parameters

value System.Boolean requiredposition: 0
SetHyperlink 3 overloads
public Void SetMouseOverSound(Stream audio, String name, String contentType = "audio/wav", String extension = ".wav") #
Returns: Void

Sets an embedded WAV or AIFF sound played when the pointer enters this text run.

Parameters

audio System.IO.Stream requiredposition: 0
name System.String requiredposition: 1
contentType System.String = "audio/wav" optionalposition: 2
extension System.String = ".wav" optionalposition: 3
public Void SetMouseOverStopsSound(Boolean value) #
Returns: Void

Controls whether entering this text run stops the currently playing sound.

Parameters

value System.Boolean requiredposition: 0

Properties

public String Language { get; set; } #

Gets or sets the BCP 47 language tag applied to this text run.

public String HyperlinkTooltip { get; set; } #

Gets or sets the accessible tooltip associated with this run's click hyperlink.

public Boolean HasMeaningfulHyperlinkLabel { get; } #

Returns whether the visible link text is meaningful without surrounding context.

public String Text { get; set; } #

Text content of the run.

public Boolean Bold { get; set; } #

Gets or sets a value indicating whether the run is bold.

public Boolean Italic { get; set; } #

Gets or sets a value indicating whether the run is italic.

public Boolean Underline { get; set; } #

Gets or sets a value indicating whether the run is underlined.

public Boolean Strikethrough { get; set; } #

Gets or sets a value indicating whether the run is strikethrough.

public Nullable<Int32> FontSize { get; set; } #

Gets or sets the font size in points.

public Nullable<Double> FontSizePoints { get; set; } #

Gets or sets the font size in points while preserving DrawingML hundredth-point precision.

public String FontName { get; set; } #

Gets or sets the font name (Latin).

public String Color { get; set; } #

Gets or sets the text color in hexadecimal format (e.g. "FF0000").

public String HighlightColor { get; set; } #

Gets or sets the highlight color in hexadecimal format (e.g. "FFFF00").

public Boolean HasClickInteraction { get; } #

Whether this run has click interaction markup, including hyperlinks, actions, or sounds.

public Boolean HasMouseOverInteraction { get; } #

Whether this run has mouse-over interaction markup, including hyperlinks, actions, or sounds.

public String ClickAction { get; } #

Gets the DrawingML click action URI, when one is authored.

public String MouseOverAction { get; } #

Gets the DrawingML mouse-over action URI, when one is authored.

public Boolean ClickStopsSound { get; } #

Whether clicking this run stops the currently playing sound.

public Boolean MouseOverStopsSound { get; } #

Whether entering this run stops the currently playing sound.

public String ClickSoundName { get; } #

Gets the sound name played when this text run is clicked.

public String MouseOverSoundName { get; } #

Gets the sound name played when the pointer enters this text run.