Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointAutoShapeScope

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Modifiers
sealed

Edits one PowerPointAutoShape: its fluent methods and keywords, each returning this scope.

Inheritance

  • object
  • PowerPointAutoShapeScope

Usage

Explore 43 API references to this type

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

Returned or exposed by 39

Accepted by parameters 4

Methods

public PowerPointAutoShapeScope AccessibilityTitle(string? value) #

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

Parameters

value string? required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope AltText(string? value) #

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

Parameters

value string? required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Blur(OfficeLength radius, bool grow = false) #

Applies a blur effect to the shape.

Parameters

radius OfficeIMO.OfficeLength required
The value.
grow bool = false optional
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Bottom(OfficeLength value) #

Sets PowerPointShape.Bottom: Bottom of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Bounds(PowerPointLayoutBox value) #

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

Parameters

value OfficeIMO.PowerPoint.PowerPointLayoutBox required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope CenterX(OfficeLength value) #

Sets PowerPointShape.CenterX: CenterX of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope CenterY(OfficeLength value) #

Sets PowerPointShape.CenterY: CenterY of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope ClickSound(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

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

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope ClickStopsSound(bool value = true) #

Controls whether clicking this shape stops the currently playing sound.

Parameters

value bool = true optional
The value. True when omitted.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Decorative(bool value = true) #

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

Parameters

value bool = true optional
The value; true when omitted.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Fill(OfficeColor color) #

Sets the fill color.

Parameters

color OfficeIMO.OfficeColor required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope FillColor(OfficeColor? value) #

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

Parameters

value OfficeIMO.OfficeColor? required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope FillTransparency(int? value) #

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

Parameters

value int? required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Glow(OfficeColor color, OfficeLength? radius = null, int transparencyPercent = 30) #

Applies a glow effect to the shape.

Parameters

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

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Height(OfficeLength value) #

Sets PowerPointShape.Height: Height of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Hidden(bool value = true) #

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

Parameters

value bool = true optional
The value; true when omitted.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope HorizontalFlip(bool? value = true) #

Sets PowerPointShape.HorizontalFlip: Gets or sets horizontal flip.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

PowerPointAutoShapeScope The same scope.
Hyperlink 3 overloads
public PowerPointAutoShapeScope Language(string language) #

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

Parameters

language string required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Left(OfficeLength value) #

Sets PowerPointShape.Left: Left of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope LineEnds(OfficeLineMarkerKind? startType, OfficeLineMarkerKind? endType, PowerPointLineEndWidth? width = null, PowerPointLineEndLength? length = null) #

Sets arrowheads for line-based shapes.

Parameters

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

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope MouseOverSound(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

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

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope MouseOverStopsSound(bool value = true) #

Controls whether entering this shape stops the currently playing sound.

Parameters

value bool = true optional
The value. True when omitted.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Name(string? value) #

Sets PowerPointShape.Name: Name assigned to the shape.

Parameters

value string? required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope OutlineColor(OfficeColor? value) #

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

Parameters

value OfficeIMO.OfficeColor? required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope OutlineDash(PowerPointLineDashStyle? value) #

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

Parameters

value OfficeIMO.PowerPoint.PowerPointLineDashStyle? required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope OutlineTransparency(int? value) #

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

Parameters

value int? required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope OutlineWidth(OfficeLength? value) #

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

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Position(OfficeLength left, OfficeLength top) #

Sets position with explicit lengths.

Parameters

left OfficeIMO.OfficeLength required
The value.
top OfficeIMO.OfficeLength required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Reflection(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

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

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Right(OfficeLength value) #

Sets PowerPointShape.Right: Right of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Rotation(double? value) #

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

Parameters

value double? required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Shadow(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

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

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Size(OfficeLength width, OfficeLength height) #

Sets size with explicit lengths.

Parameters

width OfficeIMO.OfficeLength required
The value.
height OfficeIMO.OfficeLength required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope SoftEdges(OfficeLength radius) #

Applies a soft edges effect to the shape.

Parameters

radius OfficeIMO.OfficeLength required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Stroke(OfficeColor color, OfficeLength? width = null) #

Sets the outline color and, when given, its physical width.

Parameters

color OfficeIMO.OfficeColor required
The value.
width OfficeIMO.OfficeLength? = null optional
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Top(OfficeLength value) #

Sets PowerPointShape.Top: Top of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope VerticalFlip(bool? value = true) #

Sets PowerPointShape.VerticalFlip: Gets or sets vertical flip.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

PowerPointAutoShapeScope The same scope.
public PowerPointAutoShapeScope Width(OfficeLength value) #

Sets PowerPointShape.Width: Width of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointAutoShapeScope The same scope.

Properties

public PowerPointAutoShape Model { get; } #

The PowerPointAutoShape this scope edits, for plain C# inside a lambda.