# PowerPointTextBoxScope

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

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Source revision**

`105ae88c45f6` with working tree changes

**Source**

[PowerPointScopes.cs:80](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.PowerPoint/Scopes/PowerPointScopes.cs#L80)

**Modifiers**

sealed

Edits one [PowerPointTextBox](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/): its fluent methods and keywords, each returning this scope.

## Inheritance

- object
- PowerPointTextBoxScope

## Usage

Explore 61 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 59

- Method [PowerPointTextBoxScope.AccessibilityTitle](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-accessibilitytitle-string)
- Method [PowerPointTextBoxScope.AltText](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-alttext-string)
- Method [PowerPointTextBoxScope.Blur](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-blur-officeimo-officelength-boolean)
- Method [PowerPointTextBoxScope.Bold](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-bold-boolean)
- Method [PowerPointTextBoxScope.Bottom](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-bottom-officeimo-officelength)
- Method [PowerPointTextBoxScope.Bounds](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-bounds-officeimo-powerpoint-powerpointlayoutbox)
- Method [PowerPointTextBoxScope.Bullet](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-bullet-string-action-officeimo-powerpoint-powerpointparagraphscope)
- Method [PowerPointTextBoxScope.CenterX](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-centerx-officeimo-officelength)
- Method [PowerPointTextBoxScope.CenterY](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-centery-officeimo-officelength)
- Method [PowerPointTextBoxScope.ClickSound](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-clicksound-io-stream-string-string-string)
- Method [PowerPointTextBoxScope.ClickStopsSound](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-clickstopssound-boolean)
- Method [PowerPointTextBoxScope.Color](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-color-nullable-officeimo-officecolor)
- Method [PowerPointTextBoxScope.Decorative](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-decorative-boolean)
- Method [PowerPointTextBoxScope.FillColor](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-fillcolor-nullable-officeimo-officecolor)
- Method [PowerPointTextBoxScope.FillTransparency](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-filltransparency-nullable-system-int32)
- Method [PowerPointTextBoxScope.FontFamily](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-fontfamily-string)
- Method [PowerPointTextBoxScope.FontSize](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-fontsize-nullable-officeimo-officelength)
- Method [PowerPointTextBoxScope.Glow](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-glow-officeimo-officecolor-nullable-officeimo-officelength-int32)
- Method [PowerPointTextBoxScope.Height](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-height-officeimo-officelength)
- Method [PowerPointTextBoxScope.Hidden](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-hidden-boolean)
- Method [PowerPointTextBoxScope.HorizontalFlip](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-horizontalflip-nullable-system-boolean)
- Method [PowerPointTextBoxScope.Hyperlink](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-hyperlink-uri-string)
- Method [PowerPointTextBoxScope.Italic](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-italic-boolean)
- Method [PowerPointTextBoxScope.Language](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-language-string)
- Method [PowerPointTextBoxScope.Left](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-left-officeimo-officelength)
- Method [PowerPointTextBoxScope.LineEnds](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-lineends-nullable-officeimo-drawing-officelinemarkerkind-nullable-officeimo-drawing-officelinemarkerkind-nullable-officeimo-powerpoint-powerpointlineendwidth-nullable-officeimo-powerpoint-powerpointlineendlength)
- Method [PowerPointTextBoxScope.MouseOverSound](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-mouseoversound-io-stream-string-string-string)
- Method [PowerPointTextBoxScope.MouseOverStopsSound](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-mouseoverstopssound-boolean)
- Method [PowerPointTextBoxScope.Name](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-name-string)
- Method [PowerPointTextBoxScope.NumberedItem](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-numbereditem-string-int32-action-officeimo-powerpoint-powerpointparagraphscope)
- Method [PowerPointTextBoxScope.OutlineColor](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-outlinecolor-nullable-officeimo-officecolor)
- Method [PowerPointTextBoxScope.OutlineDash](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-outlinedash-nullable-officeimo-powerpoint-powerpointlinedashstyle)
- Method [PowerPointTextBoxScope.OutlineTransparency](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-outlinetransparency-nullable-system-int32)
- Method [PowerPointTextBoxScope.OutlineWidth](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-outlinewidth-nullable-officeimo-officelength)
- Method [PowerPointTextBoxScope.Paragraph](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-paragraph-string-action-officeimo-powerpoint-powerpointparagraphscope)
- Method [PowerPointTextBoxScope.PlaceholderIndex](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-placeholderindex-nullable-system-uint32)
- Method [PowerPointTextBoxScope.PlaceholderOrientation](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-placeholderorientation-nullable-officeimo-powerpoint-powerpointplaceholderdirection)
- Method [PowerPointTextBoxScope.PlaceholderSize](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-placeholdersize-nullable-officeimo-powerpoint-powerpointplaceholdersize)
- Method [PowerPointTextBoxScope.PlaceholderType](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-placeholdertype-nullable-officeimo-powerpoint-powerpointplaceholdertype)
- Method [PowerPointTextBoxScope.Position](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-position-officeimo-officelength-officeimo-officelength)
- Method [PowerPointTextBoxScope.Reflection](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-reflection-nullable-officeimo-officelength-nullable-officeimo-officelength-double-double-int32-int32-int32-int32-nullable-officeimo-powerpoint-powerpointrectanglealignment-boolean)
- Method [PowerPointTextBoxScope.Right](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-right-officeimo-officelength)
- Method [PowerPointTextBoxScope.Rotation](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-rotation-nullable-system-double)
- Method [PowerPointTextBoxScope.Shadow](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-shadow-officeimo-officecolor-nullable-officeimo-officelength-nullable-officeimo-officelength-double-int32-boolean)
- Method [PowerPointTextBoxScope.Size](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-size-officeimo-officelength-officeimo-officelength)
- Method [PowerPointTextBoxScope.SoftEdges](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-softedges-officeimo-officelength)
- Method [PowerPointTextBoxScope.Text](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-text-string)
- Method [PowerPointTextBoxScope.TextAutoFit](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-textautofit-officeimo-powerpoint-powerpointtextautofit-nullable-officeimo-powerpoint-powerpointtextautofitoptions)
- Method [PowerPointTextBoxScope.TextAutoFitOptions](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-textautofitoptions-nullable-officeimo-powerpoint-powerpointtextautofitoptions)
- Method [PowerPointTextBoxScope.TextDirection](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-textdirection-nullable-officeimo-powerpoint-powerpointtextdirection)
- Method [PowerPointTextBoxScope.TextMarginBottom](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-textmarginbottom-nullable-officeimo-officelength)
- Method [PowerPointTextBoxScope.TextMarginLeft](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-textmarginleft-nullable-officeimo-officelength)
- Method [PowerPointTextBoxScope.TextMarginRight](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-textmarginright-nullable-officeimo-officelength)
- Method [PowerPointTextBoxScope.TextMargins](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-textmargins-officeimo-officelength-officeimo-officelength-officeimo-officelength-officeimo-officelength)
- Method [PowerPointTextBoxScope.TextMarginTop](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-textmargintop-nullable-officeimo-officelength)
- Method [PowerPointTextBoxScope.TextVerticalAlignment](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-textverticalalignment-nullable-officeimo-powerpoint-powerpointtextverticalalignment)
- Method [PowerPointTextBoxScope.Top](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-top-officeimo-officelength)
- Method [PowerPointTextBoxScope.VerticalFlip](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-verticalflip-nullable-system-boolean)
- Method [PowerPointTextBoxScope.Width](/api/powerpoint/officeimo-powerpoint-powerpointtextboxscope/#method-width-officeimo-officelength)

### Accepted by parameters 2

- Method [PowerPointSlideScope.TextBox](/api/powerpoint/officeimo-powerpoint-powerpointslidescope/#method-textbox-string-nullable-officeimo-officelength-nullable-officeimo-officelength-nullable-officeimo-officelength-nullable-officeimo-officelength-action-officeimo-powerpoint-powerpointtextboxscope) parameter `configure`
- Method [PowerPointSlideScope.Title](/api/powerpoint/officeimo-powerpoint-powerpointslidescope/#method-title-string-nullable-officeimo-officelength-nullable-officeimo-officelength-nullable-officeimo-officelength-nullable-officeimo-officelength-action-officeimo-powerpoint-powerpointtextboxscope) parameter `configure`

Filter members 

Show inherited

## Methods

`public PowerPointTextBoxScope AccessibilityTitle(string? value)` [#](#method-accessibilitytitle-string)

Sets [PowerPointShape.Title](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Gets or sets the concise accessibility title stored in the shape's non-visual properties.

Parameters

**value string? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope AltText(string? value)` [#](#method-alttext-string)

Sets [PowerPointShape.AltText](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Alternative text description assigned to the shape.

Parameters

**value string? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Blur(OfficeLength radius, bool grow = false)` [#](#method-blur-officeimo-officelength-boolean)

Applies a blur effect to the shape.

Parameters

**radius OfficeIMO.OfficeLength required**

The value.

**grow bool = false optional**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Bold(bool bold = true)` [#](#method-bold-boolean)

Sets [PowerPointTextBox.Bold](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/) for the entire text box and returns this instance.

Parameters

**bold bool = true optional**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Bottom(OfficeLength value)` [#](#method-bottom-officeimo-officelength)

Sets [PowerPointShape.Bottom](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Bottom of the shape.

Parameters

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Bounds(PowerPointLayoutBox value)` [#](#method-bounds-officeimo-powerpoint-powerpointlayoutbox)

Sets [PowerPointShape.Bounds](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Gets or sets the shape bounds.

Parameters

**value OfficeIMO.PowerPoint.PowerPointLayoutBox required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Bullet(string text, Action<PowerPointParagraphScope>? configure = null)` [#](#method-bullet-string-action-officeimo-powerpoint-powerpointparagraphscope)

Adds a new bulleted paragraph to the textbox.

Parameters

**text string required**

The value.

**configure System.Action<OfficeIMO.PowerPoint.PowerPointParagraphScope>? = null optional**

Configures the new item through its scope.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope CenterX(OfficeLength value)` [#](#method-centerx-officeimo-officelength)

Sets [PowerPointShape.CenterX](/api/powerpoint/officeimo-powerpoint-powerpointshape/): CenterX of the shape.

Parameters

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope CenterY(OfficeLength value)` [#](#method-centery-officeimo-officelength)

Sets [PowerPointShape.CenterY](/api/powerpoint/officeimo-powerpoint-powerpointshape/): CenterY of the shape.

Parameters

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope ClickSound(Stream audio, string name, string contentType = "audio/wav", string extension = ".wav")` [#](#method-clicksound-io-stream-string-string-string)

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

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope ClickStopsSound(bool value = true)` [#](#method-clickstopssound-boolean)

Controls whether clicking this shape stops the currently playing sound.

Parameters

**value bool = true optional**

The value. True when omitted.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Color(OfficeColor? color)` [#](#method-color-nullable-officeimo-officecolor)

Sets [PowerPointTextBox.Color](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/) for the entire text box and returns this instance.

Parameters

**color OfficeIMO.OfficeColor? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Decorative(bool value = true)` [#](#method-decorative-boolean)

Sets [PowerPointShape.Decorative](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Gets or sets whether assistive technology should treat this shape as decorative.

Parameters

**value bool = true optional**

The value; true when omitted.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope FillColor(OfficeColor? value)` [#](#method-fillcolor-nullable-officeimo-officecolor)

Sets [PowerPointShape.FillColor](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Gets or sets the local fill color, retaining native theme slots and opacity.

Parameters

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope FillTransparency(int? value)` [#](#method-filltransparency-nullable-system-int32)

Sets [PowerPointShape.FillTransparency](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Gets or sets the fill transparency percentage (0-100). 0 = opaque, 100 = fully transparent.

Parameters

**value int? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope FontFamily(string? fontFamily)` [#](#method-fontfamily-string)

Sets [PowerPointTextBox.FontFamily](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/) for the entire text box and returns this instance.

Parameters

**fontFamily string? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope FontSize(OfficeLength? fontSize)` [#](#method-fontsize-nullable-officeimo-officelength)

Sets [PowerPointTextBox.FontSize](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/) for the entire text box and returns this instance.

Parameters

**fontSize OfficeIMO.OfficeLength? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Glow(OfficeColor color, OfficeLength? radius = null, int transparencyPercent = 30)` [#](#method-glow-officeimo-officecolor-nullable-officeimo-officelength-int32)

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

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Height(OfficeLength value)` [#](#method-height-officeimo-officelength)

Sets [PowerPointShape.Height](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Height of the shape.

Parameters

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Hidden(bool value = true)` [#](#method-hidden-boolean)

Sets [PowerPointShape.Hidden](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Gets or sets whether the shape is hidden.

Parameters

**value bool = true optional**

The value; true when omitted.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope HorizontalFlip(bool? value = true)` [#](#method-horizontalflip-nullable-system-boolean)

Sets [PowerPointShape.HorizontalFlip](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Gets or sets horizontal flip.

Parameters

**value bool? = true optional**

The value; true when omitted.

Returns

`PowerPointTextBoxScope` The same scope.

Hyperlink 3 overloads

`public PowerPointTextBoxScope Hyperlink(Uri uri, string? tooltip = null)` [#](#method-hyperlink-uri-string)

Sets an external or internal-slide click hyperlink on this shape.

Parameters

**uri System.Uri required**

Absolute hyperlink target or a valid #slide-N fragment.

**tooltip string? = null optional**

Optional screen tip.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Hyperlink(PowerPointSlide targetSlide, string? tooltip = null)` [#](#method-hyperlink-officeimo-powerpoint-powerpointslide-string)

Sets an internal click hyperlink to another slide in the same presentation.

Parameters

**targetSlide OfficeIMO.PowerPoint.PowerPointSlide required**

Target slide.

**tooltip string? = null optional**

Optional screen tip.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Hyperlink(Uri? value)` [#](#method-hyperlink-uri)

Sets [PowerPointShape.Hyperlink](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Click hyperlink assigned to the shape, when present. Internal slide links are returned as stable Markdown-compatible fragments such as #slide-2.

Parameters

**value System.Uri? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Italic(bool italic = true)` [#](#method-italic-boolean)

Sets [PowerPointTextBox.Italic](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/) for the entire text box and returns this instance.

Parameters

**italic bool = true optional**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Language(string language)` [#](#method-language-string)

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

Parameters

**language string required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Left(OfficeLength value)` [#](#method-left-officeimo-officelength)

Sets [PowerPointShape.Left](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Left of the shape.

Parameters

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope LineEnds(OfficeLineMarkerKind? startType, OfficeLineMarkerKind? endType, PowerPointLineEndWidth? width = null, PowerPointLineEndLength? length = null)` [#](#member-ef61528a980d9fd11de4f3fc)

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

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope MouseOverSound(Stream audio, string name, string contentType = "audio/wav", string extension = ".wav")` [#](#method-mouseoversound-io-stream-string-string-string)

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

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope MouseOverStopsSound(bool value = true)` [#](#method-mouseoverstopssound-boolean)

Controls whether entering this shape stops the currently playing sound.

Parameters

**value bool = true optional**

The value. True when omitted.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Name(string? value)` [#](#method-name-string)

Sets [PowerPointShape.Name](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Name assigned to the shape.

Parameters

**value string? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

NumberedItem 2 overloads

`public PowerPointTextBoxScope NumberedItem(string text, PowerPointNumberingScheme style, int startAt = 1, Action<PowerPointParagraphScope>? configure = null)` [#](#method-numbereditem-string-officeimo-powerpoint-powerpointnumberingscheme-int32-action-officeimo-powerpoint-powerpointparagraphscope)

Adds a numbered item to the textbox.

Parameters

**text string required**

The value.

**style OfficeIMO.PowerPoint.PowerPointNumberingScheme required**

The value.

**startAt int = 1 optional**

The value.

**configure System.Action<OfficeIMO.PowerPoint.PowerPointParagraphScope>? = null optional**

Configures the new item through its scope.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope NumberedItem(string text, int startAt = 1, Action<PowerPointParagraphScope>? configure = null)` [#](#method-numbereditem-string-int32-action-officeimo-powerpoint-powerpointparagraphscope)

Adds a numbered item to the textbox using the default numbering style.

Parameters

**text string required**

The value.

**startAt int = 1 optional**

The value.

**configure System.Action<OfficeIMO.PowerPoint.PowerPointParagraphScope>? = null optional**

Configures the new item through its scope.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope OutlineColor(OfficeColor? value)` [#](#method-outlinecolor-nullable-officeimo-officecolor)

Sets [PowerPointShape.OutlineColor](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Gets or sets the local outline color, retaining native theme slots and opacity.

Parameters

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope OutlineDash(PowerPointLineDashStyle? value)` [#](#method-outlinedash-nullable-officeimo-powerpoint-powerpointlinedashstyle)

Sets [PowerPointShape.OutlineDash](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Gets or sets the outline dash preset.

Parameters

**value OfficeIMO.PowerPoint.PowerPointLineDashStyle? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope OutlineTransparency(int? value)` [#](#method-outlinetransparency-nullable-system-int32)

Sets [PowerPointShape.OutlineTransparency](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Gets or sets the outline transparency percentage (0-100). 0 is opaque and 100 is fully transparent.

Parameters

**value int? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope OutlineWidth(OfficeLength? value)` [#](#method-outlinewidth-nullable-officeimo-officelength)

Sets [PowerPointShape.OutlineWidth](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Gets or sets the outline width.

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

Paragraph 2 overloads

`public PowerPointTextBoxScope Paragraph(string text, Action<PowerPointParagraphScope>? configure = null)` [#](#method-paragraph-string-action-officeimo-powerpoint-powerpointparagraphscope)

[PowerPointScopes.cs:80](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.PowerPoint/Scopes/PowerPointScopes.cs#L80)

Adds a paragraph to the text box.

Parameters

**text string required**

Paragraph text.

**configure System.Action<OfficeIMO.PowerPoint.PowerPointParagraphScope>? = null optional**

Adds runs and formats the paragraph.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Paragraph(Action<PowerPointParagraphScope> configure)` [#](#method-paragraph-action-officeimo-powerpoint-powerpointparagraphscope)

[PowerPointScopes.cs:89](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.PowerPoint/Scopes/PowerPointScopes.cs#L89)

Adds an empty paragraph to the text box and composes it.

Parameters

**configure System.Action<OfficeIMO.PowerPoint.PowerPointParagraphScope> required**

Adds runs and formats the paragraph.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope PlaceholderIndex(uint? value)` [#](#method-placeholderindex-nullable-system-uint32)

Sets [PowerPointTextBox.PlaceholderIndex](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/): Gets or sets the placeholder index for this textbox.

Parameters

**value uint? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope PlaceholderOrientation(PowerPointPlaceholderDirection? value)` [#](#method-placeholderorientation-nullable-officeimo-powerpoint-powerpointplaceholderdirection)

Sets [PowerPointTextBox.PlaceholderOrientation](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/): Gets or sets the placeholder orientation.

Parameters

**value OfficeIMO.PowerPoint.PowerPointPlaceholderDirection? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope PlaceholderSize(PowerPointPlaceholderSize? value)` [#](#method-placeholdersize-nullable-officeimo-powerpoint-powerpointplaceholdersize)

Sets [PowerPointTextBox.PlaceholderSize](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/): Gets or sets the preferred placeholder size.

Parameters

**value OfficeIMO.PowerPoint.PowerPointPlaceholderSize? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope PlaceholderType(PowerPointPlaceholderType? value)` [#](#method-placeholdertype-nullable-officeimo-powerpoint-powerpointplaceholdertype)

Sets [PowerPointTextBox.PlaceholderType](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/): Gets or sets the placeholder type for this textbox.

Parameters

**value OfficeIMO.PowerPoint.PowerPointPlaceholderType? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Position(OfficeLength left, OfficeLength top)` [#](#method-position-officeimo-officelength-officeimo-officelength)

Sets position with explicit lengths.

Parameters

**left OfficeIMO.OfficeLength required**

The value.

**top OfficeIMO.OfficeLength required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope 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)` [#](#method-reflection-nullable-officeimo-officelength-nullable-officeimo-officelength-double-double-int32-int32-int32-int32-nullable-officeimo-powerpoint-powerpointrectanglealignment-boolean)

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

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Right(OfficeLength value)` [#](#method-right-officeimo-officelength)

Sets [PowerPointShape.Right](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Right of the shape.

Parameters

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Rotation(double? value)` [#](#method-rotation-nullable-system-double)

Sets [PowerPointShape.Rotation](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Gets or sets rotation in degrees.

Parameters

**value double? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Shadow(OfficeColor color, OfficeLength? blur = null, OfficeLength? distance = null, double angleDegrees = 45, int transparencyPercent = 35, bool rotateWithShape = false)` [#](#method-shadow-officeimo-officecolor-nullable-officeimo-officelength-nullable-officeimo-officelength-double-int32-boolean)

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

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Size(OfficeLength width, OfficeLength height)` [#](#method-size-officeimo-officelength-officeimo-officelength)

Sets size with explicit lengths.

Parameters

**width OfficeIMO.OfficeLength required**

The value.

**height OfficeIMO.OfficeLength required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope SoftEdges(OfficeLength radius)` [#](#method-softedges-officeimo-officelength)

Applies a soft edges effect to the shape.

Parameters

**radius OfficeIMO.OfficeLength required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Text(string value)` [#](#method-text-string)

Sets [PowerPointTextBox.Text](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/): Text contained in the textbox.

Parameters

**value string required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

TextAutoFit 2 overloads

`public PowerPointTextBoxScope TextAutoFit(PowerPointTextAutoFit fit, PowerPointTextAutoFitOptions? options = null)` [#](#method-textautofit-officeimo-powerpoint-powerpointtextautofit-nullable-officeimo-powerpoint-powerpointtextautofitoptions)

Sets the auto-fit mode and optional Normal auto-fit options.

Parameters

**fit OfficeIMO.PowerPoint.PowerPointTextAutoFit required**

The value.

**options OfficeIMO.PowerPoint.PowerPointTextAutoFitOptions? = null optional**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope TextAutoFit(PowerPointTextAutoFit? value)` [#](#method-textautofit-nullable-officeimo-powerpoint-powerpointtextautofit)

Sets [PowerPointTextBox.TextAutoFit](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/): Gets or sets the text auto-fit behavior.

Parameters

**value OfficeIMO.PowerPoint.PowerPointTextAutoFit? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope TextAutoFitOptions(PowerPointTextAutoFitOptions? value)` [#](#method-textautofitoptions-nullable-officeimo-powerpoint-powerpointtextautofitoptions)

Sets [PowerPointTextBox.TextAutoFitOptions](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/): Gets or sets detailed auto-fit options (only applies to Normal auto-fit).

Parameters

**value OfficeIMO.PowerPoint.PowerPointTextAutoFitOptions? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope TextDirection(PowerPointTextDirection? value)` [#](#method-textdirection-nullable-officeimo-powerpoint-powerpointtextdirection)

Sets [PowerPointTextBox.TextDirection](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/): Gets or sets the text direction (horizontal/vertical).

Parameters

**value OfficeIMO.PowerPoint.PowerPointTextDirection? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope TextMarginBottom(OfficeLength? value)` [#](#method-textmarginbottom-nullable-officeimo-officelength)

Sets [PowerPointTextBox.TextMarginBottom](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/): Gets or sets the bottom text margin as a physical length.

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope TextMarginLeft(OfficeLength? value)` [#](#method-textmarginleft-nullable-officeimo-officelength)

Sets [PowerPointTextBox.TextMarginLeft](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/): Gets or sets the left text margin as a physical length.

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope TextMarginRight(OfficeLength? value)` [#](#method-textmarginright-nullable-officeimo-officelength)

Sets [PowerPointTextBox.TextMarginRight](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/): Gets or sets the right text margin as a physical length.

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope TextMargins(OfficeLength left, OfficeLength top, OfficeLength right, OfficeLength bottom)` [#](#method-textmargins-officeimo-officelength-officeimo-officelength-officeimo-officelength-officeimo-officelength)

Sets all text margins as a physical length.

Parameters

**left OfficeIMO.OfficeLength required**

The value.

**top OfficeIMO.OfficeLength required**

The value.

**right OfficeIMO.OfficeLength required**

The value.

**bottom OfficeIMO.OfficeLength required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope TextMarginTop(OfficeLength? value)` [#](#method-textmargintop-nullable-officeimo-officelength)

Sets [PowerPointTextBox.TextMarginTop](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/): Gets or sets the top text margin as a physical length.

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope TextVerticalAlignment(PowerPointTextVerticalAlignment? value)` [#](#method-textverticalalignment-nullable-officeimo-powerpoint-powerpointtextverticalalignment)

Sets [PowerPointTextBox.TextVerticalAlignment](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/): Gets or sets the vertical anchoring of text inside the textbox.

Parameters

**value OfficeIMO.PowerPoint.PowerPointTextVerticalAlignment? required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Top(OfficeLength value)` [#](#method-top-officeimo-officelength)

Sets [PowerPointShape.Top](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Top of the shape.

Parameters

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope VerticalFlip(bool? value = true)` [#](#method-verticalflip-nullable-system-boolean)

Sets [PowerPointShape.VerticalFlip](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Gets or sets vertical flip.

Parameters

**value bool? = true optional**

The value; true when omitted.

Returns

`PowerPointTextBoxScope` The same scope.

`public PowerPointTextBoxScope Width(OfficeLength value)` [#](#method-width-officeimo-officelength)

Sets [PowerPointShape.Width](/api/powerpoint/officeimo-powerpoint-powerpointshape/): Width of the shape.

Parameters

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PowerPointTextBoxScope` The same scope.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public PowerPointTextBox Model { get; }` [#](#property-model)

The [PowerPointTextBox](/api/powerpoint/officeimo-powerpoint-powerpointtextbox/) this scope edits, for plain C# inside a lambda.

<!-- PowerForge markdown artifact sha256:219CEB2FA020C5FF664870CA31F48D488A3F35F9AAEB4362006860674F3AF8C1 -->
