Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointOleObjectFluent

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Modifiers
static

The fluent methods of PowerPointOleObject, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • PowerPointOleObjectFluent

Methods

public static PowerPointOleObject AccessibilityTitle(PowerPointOleObject powerPointOleObject, string? value) #

Sets PowerPointShape.Title: Gets or sets the concise accessibility title stored in the shape's non-visual properties.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value string? required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property         // C# fluent
powerPointOleObject.Title = value;    powerPointOleObject.AccessibilityTitle(value);
public static PowerPointOleObject AltText(PowerPointOleObject powerPointOleObject, string? value) #

Sets PowerPointShape.AltText: Alternative text description assigned to the shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value string? required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property           // C# fluent
powerPointOleObject.AltText = value;    powerPointOleObject.AltText(value);
public static PowerPointOleObject AutoUpdate(PowerPointOleObject powerPointOleObject, bool value = true) #

Sets PowerPointOleObject.AutoUpdate: Gets or sets whether PowerPoint automatically refreshes the linked object.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property              // C# fluent
powerPointOleObject.AutoUpdate = value;    powerPointOleObject.AutoUpdate(value);
public static PowerPointOleObject Blur(PowerPointOleObject powerPointOleObject, OfficeLength radius, bool grow = false) #

Applies a blur effect to the shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
radius OfficeIMO.OfficeLength required
The value.
grow bool = false optional
The value.

Returns

PowerPointOleObject The same instance.
public static PowerPointOleObject Bottom(PowerPointOleObject powerPointOleObject, OfficeLength value) #

Sets PowerPointShape.Bottom: Bottom of the shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property          // C# fluent
powerPointOleObject.Bottom = value;    powerPointOleObject.Bottom(value);
public static PowerPointOleObject Bounds(PowerPointOleObject powerPointOleObject, PowerPointLayoutBox value) #

Sets PowerPointShape.Bounds: Gets or sets the shape bounds.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value OfficeIMO.PowerPoint.PowerPointLayoutBox required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property          // C# fluent
powerPointOleObject.Bounds = value;    powerPointOleObject.Bounds(value);
public static PowerPointOleObject CenterX(PowerPointOleObject powerPointOleObject, OfficeLength value) #

Sets PowerPointShape.CenterX: CenterX of the shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property           // C# fluent
powerPointOleObject.CenterX = value;    powerPointOleObject.CenterX(value);
public static PowerPointOleObject CenterY(PowerPointOleObject powerPointOleObject, OfficeLength value) #

Sets PowerPointShape.CenterY: CenterY of the shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property           // C# fluent
powerPointOleObject.CenterY = value;    powerPointOleObject.CenterY(value);
public static PowerPointOleObject ClickSound(PowerPointOleObject powerPointOleObject, Stream audio, string name, string contentType = "audio/wav", string extension = ".wav") #

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

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
audio System.IO.Stream required
The value.
name string required
The value.
contentType string = "audio/wav" optional
The value.
extension string = ".wav" optional
The value.

Returns

PowerPointOleObject The same instance.
public static PowerPointOleObject ClickStopsSound(PowerPointOleObject powerPointOleObject, bool value = true) #

Controls whether clicking this shape stops the currently playing sound.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value bool = true optional
The value. True when omitted.

Returns

PowerPointOleObject The same instance.
public static PowerPointOleObject Decorative(PowerPointOleObject powerPointOleObject, bool value = true) #

Sets PowerPointShape.Decorative: Gets or sets whether assistive technology should treat this shape as decorative.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property              // C# fluent
powerPointOleObject.Decorative = value;    powerPointOleObject.Decorative(value);
public static PowerPointOleObject FillColor(PowerPointOleObject powerPointOleObject, OfficeColor? value) #

Sets PowerPointShape.FillColor: Gets or sets the local fill color, retaining native theme slots and opacity.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property             // C# fluent
powerPointOleObject.FillColor = value;    powerPointOleObject.FillColor(value);
public static PowerPointOleObject FillTransparency(PowerPointOleObject powerPointOleObject, int? value) #

Sets PowerPointShape.FillTransparency: Gets or sets the fill transparency percentage (0-100). 0 = opaque, 100 = fully transparent.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value int? required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property                    // C# fluent
powerPointOleObject.FillTransparency = value;    powerPointOleObject.FillTransparency(value);
public static PowerPointOleObject FollowColorScheme(PowerPointOleObject powerPointOleObject, PowerPointOleFollowColorScheme value) #

Sets PowerPointOleObject.FollowColorScheme: Gets or sets how the object follows the presentation color scheme.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value OfficeIMO.PowerPoint.PowerPointOleFollowColorScheme required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property                     // C# fluent
powerPointOleObject.FollowColorScheme = value;    powerPointOleObject.FollowColorScheme(value);
public static PowerPointOleObject Glow(PowerPointOleObject powerPointOleObject, OfficeColor color, OfficeLength? radius = null, int transparencyPercent = 30) #

Applies a glow effect to the shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
color OfficeIMO.OfficeColor required
The value.
radius OfficeIMO.OfficeLength? = null optional
The value.
transparencyPercent int = 30 optional
The value.

Returns

PowerPointOleObject The same instance.
public static PowerPointOleObject Height(PowerPointOleObject powerPointOleObject, OfficeLength value) #

Sets PowerPointShape.Height: Height of the shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property          // C# fluent
powerPointOleObject.Height = value;    powerPointOleObject.Height(value);
public static PowerPointOleObject Hidden(PowerPointOleObject powerPointOleObject, bool value = true) #

Sets PowerPointShape.Hidden: Gets or sets whether the shape is hidden.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property          // C# fluent
powerPointOleObject.Hidden = value;    powerPointOleObject.Hidden(value);
public static PowerPointOleObject HorizontalFlip(PowerPointOleObject powerPointOleObject, bool? value = true) #

Sets PowerPointShape.HorizontalFlip: Gets or sets horizontal flip.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property                  // C# fluent
powerPointOleObject.HorizontalFlip = value;    powerPointOleObject.HorizontalFlip(value);
Hyperlink 3 overloads
public static PowerPointOleObject Language(PowerPointOleObject powerPointOleObject, string language) #

Applies a BCP 47 language tag to every text run and paragraph end marker in this shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
language string required
The value.

Returns

PowerPointOleObject The same instance.
public static PowerPointOleObject Left(PowerPointOleObject powerPointOleObject, OfficeLength value) #

Sets PowerPointShape.Left: Left of the shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property        // C# fluent
powerPointOleObject.Left = value;    powerPointOleObject.Left(value);
public static PowerPointOleObject LineEnds(PowerPointOleObject powerPointOleObject, OfficeLineMarkerKind? startType, OfficeLineMarkerKind? endType, PowerPointLineEndWidth? width = null, PowerPointLineEndLength? length = null) #

Sets arrowheads for line-based shapes.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
startType OfficeIMO.Drawing.OfficeLineMarkerKind? required
The value.
endType OfficeIMO.Drawing.OfficeLineMarkerKind? required
The value.
width OfficeIMO.PowerPoint.PowerPointLineEndWidth? = null optional
The value.
length OfficeIMO.PowerPoint.PowerPointLineEndLength? = null optional
The value.

Returns

PowerPointOleObject The same instance.
public static PowerPointOleObject MouseOverSound(PowerPointOleObject powerPointOleObject, Stream audio, string name, string contentType = "audio/wav", string extension = ".wav") #

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

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
audio System.IO.Stream required
The value.
name string required
The value.
contentType string = "audio/wav" optional
The value.
extension string = ".wav" optional
The value.

Returns

PowerPointOleObject The same instance.
public static PowerPointOleObject MouseOverStopsSound(PowerPointOleObject powerPointOleObject, bool value = true) #

Controls whether entering this shape stops the currently playing sound.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value bool = true optional
The value. True when omitted.

Returns

PowerPointOleObject The same instance.
public static PowerPointOleObject Name(PowerPointOleObject powerPointOleObject, string? value) #

Sets PowerPointShape.Name: Name assigned to the shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value string? required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property        // C# fluent
powerPointOleObject.Name = value;    powerPointOleObject.Name(value);
public static PowerPointOleObject OutlineColor(PowerPointOleObject powerPointOleObject, OfficeColor? value) #

Sets PowerPointShape.OutlineColor: Gets or sets the local outline color, retaining native theme slots and opacity.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property                // C# fluent
powerPointOleObject.OutlineColor = value;    powerPointOleObject.OutlineColor(value);
public static PowerPointOleObject OutlineDash(PowerPointOleObject powerPointOleObject, PowerPointLineDashStyle? value) #

Sets PowerPointShape.OutlineDash: Gets or sets the outline dash preset.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value OfficeIMO.PowerPoint.PowerPointLineDashStyle? required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property               // C# fluent
powerPointOleObject.OutlineDash = value;    powerPointOleObject.OutlineDash(value);
public static PowerPointOleObject OutlineTransparency(PowerPointOleObject powerPointOleObject, int? value) #

Sets PowerPointShape.OutlineTransparency: Gets or sets the outline transparency percentage (0-100). 0 is opaque and 100 is fully transparent.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value int? required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property                       // C# fluent
powerPointOleObject.OutlineTransparency = value;    powerPointOleObject.OutlineTransparency(value);
public static PowerPointOleObject OutlineWidth(PowerPointOleObject powerPointOleObject, OfficeLength? value) #

Sets PowerPointShape.OutlineWidth: Gets or sets the outline width.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property                // C# fluent
powerPointOleObject.OutlineWidth = value;    powerPointOleObject.OutlineWidth(value);
public static PowerPointOleObject Position(PowerPointOleObject powerPointOleObject, OfficeLength left, OfficeLength top) #

Sets position with explicit lengths.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
left OfficeIMO.OfficeLength required
The value.
top OfficeIMO.OfficeLength required
The value.

Returns

PowerPointOleObject The same instance.
public static PowerPointOleObject ProgId(PowerPointOleObject powerPointOleObject, string? value) #

Sets PowerPointOleObject.ProgId: Gets or sets the OLE programmatic class identifier.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value string? required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property          // C# fluent
powerPointOleObject.ProgId = value;    powerPointOleObject.ProgId(value);
public static PowerPointOleObject Reflection(PowerPointOleObject powerPointOleObject, OfficeLength? blur = null, OfficeLength? distance = null, double directionDegrees = 270, double fadeDirectionDegrees = 90, int startOpacityPercent = 50, int endOpacityPercent = 0, int startPositionPercent = 0, int endPositionPercent = 100, PowerPointRectangleAlignment? alignment = null, bool rotateWithShape = false) #

Applies a reflection effect to the shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
blur OfficeIMO.OfficeLength? = null optional
The value.
distance OfficeIMO.OfficeLength? = null optional
The value.
directionDegrees double = 270 optional
The value.
fadeDirectionDegrees double = 90 optional
The value.
startOpacityPercent int = 50 optional
The value.
endOpacityPercent int = 0 optional
The value.
startPositionPercent int = 0 optional
The value.
endPositionPercent int = 100 optional
The value.
alignment OfficeIMO.PowerPoint.PowerPointRectangleAlignment? = null optional
The value.
rotateWithShape bool = false optional
The value.

Returns

PowerPointOleObject The same instance.
public static PowerPointOleObject Right(PowerPointOleObject powerPointOleObject, OfficeLength value) #

Sets PowerPointShape.Right: Right of the shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property         // C# fluent
powerPointOleObject.Right = value;    powerPointOleObject.Right(value);
public static PowerPointOleObject Rotation(PowerPointOleObject powerPointOleObject, double? value) #

Sets PowerPointShape.Rotation: Gets or sets rotation in degrees.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value double? required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property            // C# fluent
powerPointOleObject.Rotation = value;    powerPointOleObject.Rotation(value);
public static PowerPointOleObject Shadow(PowerPointOleObject powerPointOleObject, OfficeColor color, OfficeLength? blur = null, OfficeLength? distance = null, double angleDegrees = 45, int transparencyPercent = 35, bool rotateWithShape = false) #

Applies a drop shadow to the shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
color OfficeIMO.OfficeColor required
The value.
blur OfficeIMO.OfficeLength? = null optional
The value.
distance OfficeIMO.OfficeLength? = null optional
The value.
angleDegrees double = 45 optional
The value.
transparencyPercent int = 35 optional
The value.
rotateWithShape bool = false optional
The value.

Returns

PowerPointOleObject The same instance.
public static PowerPointOleObject ShowAsIcon(PowerPointOleObject powerPointOleObject, bool value = true) #

Sets PowerPointOleObject.ShowAsIcon: Gets or sets whether the object is displayed as an icon.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property              // C# fluent
powerPointOleObject.ShowAsIcon = value;    powerPointOleObject.ShowAsIcon(value);
public static PowerPointOleObject Size(PowerPointOleObject powerPointOleObject, OfficeLength width, OfficeLength height) #

Sets size with explicit lengths.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
width OfficeIMO.OfficeLength required
The value.
height OfficeIMO.OfficeLength required
The value.

Returns

PowerPointOleObject The same instance.
public static PowerPointOleObject SoftEdges(PowerPointOleObject powerPointOleObject, OfficeLength radius) #

Applies a soft edges effect to the shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
radius OfficeIMO.OfficeLength required
The value.

Returns

PowerPointOleObject The same instance.
public static PowerPointOleObject Top(PowerPointOleObject powerPointOleObject, OfficeLength value) #

Sets PowerPointShape.Top: Top of the shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property       // C# fluent
powerPointOleObject.Top = value;    powerPointOleObject.Top(value);
public static PowerPointOleObject VerticalFlip(PowerPointOleObject powerPointOleObject, bool? value = true) #

Sets PowerPointShape.VerticalFlip: Gets or sets vertical flip.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property                // C# fluent
powerPointOleObject.VerticalFlip = value;    powerPointOleObject.VerticalFlip(value);
public static PowerPointOleObject Width(PowerPointOleObject powerPointOleObject, OfficeLength value) #

Sets PowerPointShape.Width: Width of the shape.

Parameters

powerPointOleObject OfficeIMO.PowerPoint.PowerPointOleObject required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointOleObject The same instance.

Examples

// C# initializer or property         // C# fluent
powerPointOleObject.Width = value;    powerPointOleObject.Width(value);