Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointImageScope

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Modifiers
sealed

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

Inheritance

  • object
  • PowerPointImageScope

Usage

Explore 44 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 43

Accepted by parameters 1

Methods

public PowerPointImageScope 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

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

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

Parameters

value string? required
The value.

Returns

PowerPointImageScope The same scope.
public PowerPointImageScope BlackWhiteThreshold(int? value) #

Sets PowerPointImage.BlackWhiteThreshold: Gets or sets the black-and-white threshold as a percentage from 0 through 100, or null to disable bi-level display. Binary PowerPoint supports the classic value 50.

Parameters

value int? required
The value.

Returns

PowerPointImageScope The same scope.
public PowerPointImageScope 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

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

Sets PowerPointShape.Bottom: Bottom of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

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

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

Parameters

value OfficeIMO.PowerPoint.PowerPointLayoutBox required
The value.

Returns

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

Sets PowerPointShape.CenterX: CenterX of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

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

Sets PowerPointShape.CenterY: CenterY of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointImageScope The same scope.
public PowerPointImageScope 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

PowerPointImageScope The same scope.
public PowerPointImageScope 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

PowerPointImageScope The same scope.
public PowerPointImageScope 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

PowerPointImageScope The same scope.
public PowerPointImageScope 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

PowerPointImageScope The same scope.
public PowerPointImageScope 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

PowerPointImageScope The same scope.
public PowerPointImageScope 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

PowerPointImageScope The same scope.
public PowerPointImageScope GrayScale(bool value = true) #

Sets PowerPointImage.GrayScale: Gets or sets whether the picture uses grayscale display.

Parameters

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

Returns

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

Sets PowerPointShape.Height: Height of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointImageScope The same scope.
public PowerPointImageScope 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

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

Sets PowerPointShape.HorizontalFlip: Gets or sets horizontal flip.

Parameters

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

Returns

PowerPointImageScope The same scope.
Hyperlink 3 overloads
public PowerPointImageScope 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

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

Sets PowerPointShape.Left: Left of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointImageScope The same scope.
public PowerPointImageScope 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

PowerPointImageScope The same scope.
public PowerPointImageScope LuminanceBrightness(int? value) #

Sets PowerPointImage.LuminanceBrightness: Gets or sets the luminance brightness adjustment as a percentage from -100 through 100, or null when omitted.

Parameters

value int? required
The value.

Returns

PowerPointImageScope The same scope.
public PowerPointImageScope LuminanceContrast(int? value) #

Sets PowerPointImage.LuminanceContrast: Gets or sets the luminance contrast adjustment as a percentage from -100 through 100, or null when omitted.

Parameters

value int? required
The value.

Returns

PowerPointImageScope The same scope.
public PowerPointImageScope 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

PowerPointImageScope The same scope.
public PowerPointImageScope 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

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

Sets PowerPointShape.Name: Name assigned to the shape.

Parameters

value string? required
The value.

Returns

PowerPointImageScope The same scope.
public PowerPointImageScope 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

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

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

Parameters

value OfficeIMO.PowerPoint.PowerPointLineDashStyle? required
The value.

Returns

PowerPointImageScope The same scope.
public PowerPointImageScope 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

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

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

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

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

Sets position with explicit lengths.

Parameters

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

Returns

PowerPointImageScope The same scope.
public PowerPointImageScope RecolorColor(OfficeColor? value) #

Sets PowerPointImage.RecolorColor: Gets or sets the RGB color used to recolor the entire picture, or null to disable recoloring.

Parameters

value OfficeIMO.OfficeColor? required
The value.

Returns

PowerPointImageScope The same scope.
public PowerPointImageScope 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

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

Sets PowerPointShape.Right: Right of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

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

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

Parameters

value double? required
The value.

Returns

PowerPointImageScope The same scope.
public PowerPointImageScope 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

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

Sets size with explicit lengths.

Parameters

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

Returns

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

Applies a soft edges effect to the shape.

Parameters

radius OfficeIMO.OfficeLength required
The value.

Returns

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

Sets PowerPointShape.Top: Top of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointImageScope The same scope.
public PowerPointImageScope TransparentColor(OfficeColor? value) #

Sets PowerPointImage.TransparentColor: Gets or sets the RGB color that becomes fully transparent, or null to disable transparent-color replacement.

Parameters

value OfficeIMO.OfficeColor? required
The value.

Returns

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

Sets PowerPointShape.VerticalFlip: Gets or sets vertical flip.

Parameters

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

Returns

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

Sets PowerPointShape.Width: Width of the shape.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointImageScope The same scope.

Properties

public PowerPointImage Model { get; } #

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