PowerPointTextBoxScope
OfficeIMO.PowerPoint
Edits one 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
- Method PowerPointTextBoxScope.AltText
- Method PowerPointTextBoxScope.Blur
- Method PowerPointTextBoxScope.Bold
- Method PowerPointTextBoxScope.Bottom
- Method PowerPointTextBoxScope.Bounds
- Method PowerPointTextBoxScope.Bullet
- Method PowerPointTextBoxScope.CenterX
- Method PowerPointTextBoxScope.CenterY
- Method PowerPointTextBoxScope.ClickSound
- Method PowerPointTextBoxScope.ClickStopsSound
- Method PowerPointTextBoxScope.Color
- Method PowerPointTextBoxScope.Decorative
- Method PowerPointTextBoxScope.FillColor
- Method PowerPointTextBoxScope.FillTransparency
- Method PowerPointTextBoxScope.FontFamily
- Method PowerPointTextBoxScope.FontSize
- Method PowerPointTextBoxScope.Glow
- Method PowerPointTextBoxScope.Height
- Method PowerPointTextBoxScope.Hidden
- Method PowerPointTextBoxScope.HorizontalFlip
- Method PowerPointTextBoxScope.Hyperlink
- Method PowerPointTextBoxScope.Italic
- Method PowerPointTextBoxScope.Language
- Method PowerPointTextBoxScope.Left
- Method PowerPointTextBoxScope.LineEnds
- Method PowerPointTextBoxScope.MouseOverSound
- Method PowerPointTextBoxScope.MouseOverStopsSound
- Method PowerPointTextBoxScope.Name
- Method PowerPointTextBoxScope.NumberedItem
- Method PowerPointTextBoxScope.OutlineColor
- Method PowerPointTextBoxScope.OutlineDash
- Method PowerPointTextBoxScope.OutlineTransparency
- Method PowerPointTextBoxScope.OutlineWidth
- Method PowerPointTextBoxScope.Paragraph
- Method PowerPointTextBoxScope.PlaceholderIndex
- Method PowerPointTextBoxScope.PlaceholderOrientation
- Method PowerPointTextBoxScope.PlaceholderSize
- Method PowerPointTextBoxScope.PlaceholderType
- Method PowerPointTextBoxScope.Position
- Method PowerPointTextBoxScope.Reflection
- Method PowerPointTextBoxScope.Right
- Method PowerPointTextBoxScope.Rotation
- Method PowerPointTextBoxScope.Shadow
- Method PowerPointTextBoxScope.Size
- Method PowerPointTextBoxScope.SoftEdges
- Method PowerPointTextBoxScope.Text
- Method PowerPointTextBoxScope.TextAutoFit
- Method PowerPointTextBoxScope.TextAutoFitOptions
- Method PowerPointTextBoxScope.TextDirection
- Method PowerPointTextBoxScope.TextMarginBottom
- Method PowerPointTextBoxScope.TextMarginLeft
- Method PowerPointTextBoxScope.TextMarginRight
- Method PowerPointTextBoxScope.TextMargins
- Method PowerPointTextBoxScope.TextMarginTop
- Method PowerPointTextBoxScope.TextVerticalAlignment
- Method PowerPointTextBoxScope.Top
- Method PowerPointTextBoxScope.VerticalFlip
- Method PowerPointTextBoxScope.Width
Accepted by parameters 2
- Method PowerPointSlideScope.TextBox
- Method PowerPointSlideScope.Title
Methods
public PowerPointTextBoxScope AccessibilityTitle(string? value) #Sets PowerPointShape.Title: Gets or sets the concise accessibility title stored in the shape's non-visual properties.
Parameters
- value string?
- The value.
public PowerPointTextBoxScope AltText(string? value) #Sets PowerPointShape.AltText: Alternative text description assigned to the shape.
Parameters
- value string?
- The value.
public PowerPointTextBoxScope Blur(OfficeLength radius, bool grow = false) #Applies a blur effect to the shape.
Parameters
- radius OfficeIMO.OfficeLength
- The value.
- grow bool = false
- The value.
public PowerPointTextBoxScope Bold(bool bold = true) #Sets PowerPointTextBox.Bold for the entire text box and returns this instance.
Parameters
- bold bool = true
- The value.
public PowerPointTextBoxScope Bottom(OfficeLength value) #Sets PowerPointShape.Bottom: Bottom of the shape.
Parameters
- value OfficeIMO.OfficeLength
- The value.
public PowerPointTextBoxScope Bounds(PowerPointLayoutBox value) #Sets PowerPointShape.Bounds: Gets or sets the shape bounds.
Parameters
- value OfficeIMO.PowerPoint.PowerPointLayoutBox
- The value.
public PowerPointTextBoxScope Bullet(string text, Action<PowerPointParagraphScope>? configure = null) #Adds a new bulleted paragraph to the textbox.
Parameters
- text string
- The value.
- configure System.Action<OfficeIMO.PowerPoint.PowerPointParagraphScope>? = null
- Configures the new item through its scope.
public PowerPointTextBoxScope CenterX(OfficeLength value) #Sets PowerPointShape.CenterX: CenterX of the shape.
Parameters
- value OfficeIMO.OfficeLength
- The value.
public PowerPointTextBoxScope CenterY(OfficeLength value) #Sets PowerPointShape.CenterY: CenterY of the shape.
Parameters
- value OfficeIMO.OfficeLength
- The value.
public PowerPointTextBoxScope 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
- The value.
- name string
- The value.
- contentType string = "audio/wav"
- The value.
- extension string = ".wav"
- The value.
public PowerPointTextBoxScope ClickStopsSound(bool value = true) #Controls whether clicking this shape stops the currently playing sound.
Parameters
- value bool = true
- The value. True when omitted.
public PowerPointTextBoxScope Color(OfficeColor? color) #Sets PowerPointTextBox.Color for the entire text box and returns this instance.
Parameters
- color OfficeIMO.OfficeColor?
- The value.
public PowerPointTextBoxScope Decorative(bool value = true) #Sets PowerPointShape.Decorative: Gets or sets whether assistive technology should treat this shape as decorative.
Parameters
- value bool = true
- The value; true when omitted.
public PowerPointTextBoxScope FillColor(OfficeColor? value) #Sets PowerPointShape.FillColor: Gets or sets the local fill color, retaining native theme slots and opacity.
Parameters
- value OfficeIMO.OfficeColor?
- The value.
public PowerPointTextBoxScope FillTransparency(int? value) #Sets PowerPointShape.FillTransparency: Gets or sets the fill transparency percentage (0-100). 0 = opaque, 100 = fully transparent.
Parameters
- value int?
- The value.
public PowerPointTextBoxScope FontFamily(string? fontFamily) #Sets PowerPointTextBox.FontFamily for the entire text box and returns this instance.
Parameters
- fontFamily string?
- The value.
public PowerPointTextBoxScope FontSize(OfficeLength? fontSize) #Sets PowerPointTextBox.FontSize for the entire text box and returns this instance.
Parameters
- fontSize OfficeIMO.OfficeLength?
- The value.
public PowerPointTextBoxScope Glow(OfficeColor color, OfficeLength? radius = null, int transparencyPercent = 30) #Applies a glow effect to the shape.
Parameters
- color OfficeIMO.OfficeColor
- The value.
- radius OfficeIMO.OfficeLength? = null
- The value.
- transparencyPercent int = 30
- The value.
public PowerPointTextBoxScope Height(OfficeLength value) #Sets PowerPointShape.Height: Height of the shape.
Parameters
- value OfficeIMO.OfficeLength
- The value.
public PowerPointTextBoxScope HorizontalFlip(bool? value = true) #Sets PowerPointShape.HorizontalFlip: Gets or sets horizontal flip.
Parameters
- value bool? = true
- The value; true when omitted.
public PowerPointTextBoxScope Hyperlink(Uri uri, string? tooltip = null) #Sets an external or internal-slide click hyperlink on this shape.
Parameters
- uri System.Uri
- Absolute hyperlink target or a valid #slide-N fragment.
- tooltip string? = null
- Optional screen tip.
public PowerPointTextBoxScope Hyperlink(PowerPointSlide targetSlide, string? tooltip = null) #Sets an internal click hyperlink to another slide in the same presentation.
Parameters
- targetSlide OfficeIMO.PowerPoint.PowerPointSlide
- Target slide.
- tooltip string? = null
- Optional screen tip.
public PowerPointTextBoxScope Hyperlink(Uri? value) #Sets PowerPointShape.Hyperlink: 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?
- The value.
public PowerPointTextBoxScope Italic(bool italic = true) #Sets PowerPointTextBox.Italic for the entire text box and returns this instance.
Parameters
- italic bool = true
- The value.
public PowerPointTextBoxScope Language(string language) #Applies a BCP 47 language tag to every text run and paragraph end marker in this shape.
Parameters
- language string
- The value.
public PowerPointTextBoxScope Left(OfficeLength value) #Sets PowerPointShape.Left: Left of the shape.
Parameters
- value OfficeIMO.OfficeLength
- The value.
public PowerPointTextBoxScope LineEnds(OfficeLineMarkerKind? startType, OfficeLineMarkerKind? endType, PowerPointLineEndWidth? width = null, PowerPointLineEndLength? length = null) #Sets arrowheads for line-based shapes.
Parameters
- startType OfficeIMO.Drawing.OfficeLineMarkerKind?
- The value.
- endType OfficeIMO.Drawing.OfficeLineMarkerKind?
- The value.
- width OfficeIMO.PowerPoint.PowerPointLineEndWidth? = null
- The value.
- length OfficeIMO.PowerPoint.PowerPointLineEndLength? = null
- The value.
public PowerPointTextBoxScope 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
- The value.
- name string
- The value.
- contentType string = "audio/wav"
- The value.
- extension string = ".wav"
- The value.
public PowerPointTextBoxScope MouseOverStopsSound(bool value = true) #Controls whether entering this shape stops the currently playing sound.
Parameters
- value bool = true
- The value. True when omitted.
public PowerPointTextBoxScope Name(string? value) #Sets PowerPointShape.Name: Name assigned to the shape.
Parameters
- value string?
- The value.
public PowerPointTextBoxScope NumberedItem(string text, PowerPointNumberingScheme style, int startAt = 1, Action<PowerPointParagraphScope>? configure = null) #Adds a numbered item to the textbox.
Parameters
- text string
- The value.
- style OfficeIMO.PowerPoint.PowerPointNumberingScheme
- The value.
- startAt int = 1
- The value.
- configure System.Action<OfficeIMO.PowerPoint.PowerPointParagraphScope>? = null
- Configures the new item through its scope.
public PowerPointTextBoxScope NumberedItem(string text, int startAt = 1, Action<PowerPointParagraphScope>? configure = null) #Adds a numbered item to the textbox using the default numbering style.
Parameters
- text string
- The value.
- startAt int = 1
- The value.
- configure System.Action<OfficeIMO.PowerPoint.PowerPointParagraphScope>? = null
- Configures the new item through its scope.
public PowerPointTextBoxScope OutlineColor(OfficeColor? value) #Sets PowerPointShape.OutlineColor: Gets or sets the local outline color, retaining native theme slots and opacity.
Parameters
- value OfficeIMO.OfficeColor?
- The value.
public PowerPointTextBoxScope OutlineDash(PowerPointLineDashStyle? value) #Sets PowerPointShape.OutlineDash: Gets or sets the outline dash preset.
Parameters
- value OfficeIMO.PowerPoint.PowerPointLineDashStyle?
- The value.
public PowerPointTextBoxScope 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?
- The value.
public PowerPointTextBoxScope OutlineWidth(OfficeLength? value) #Sets PowerPointShape.OutlineWidth: Gets or sets the outline width.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public PowerPointTextBoxScope Paragraph(string text, Action<PowerPointParagraphScope>? configure = null) #Adds a paragraph to the text box.
Parameters
- text string
- Paragraph text.
- configure System.Action<OfficeIMO.PowerPoint.PowerPointParagraphScope>? = null
- Adds runs and formats the paragraph.
public PowerPointTextBoxScope Paragraph(Action<PowerPointParagraphScope> configure) #Adds an empty paragraph to the text box and composes it.
Parameters
- configure System.Action<OfficeIMO.PowerPoint.PowerPointParagraphScope>
- Adds runs and formats the paragraph.
public PowerPointTextBoxScope PlaceholderIndex(uint? value) #Sets PowerPointTextBox.PlaceholderIndex: Gets or sets the placeholder index for this textbox.
Parameters
- value uint?
- The value.
public PowerPointTextBoxScope PlaceholderOrientation(PowerPointPlaceholderDirection? value) #Sets PowerPointTextBox.PlaceholderOrientation: Gets or sets the placeholder orientation.
Parameters
- value OfficeIMO.PowerPoint.PowerPointPlaceholderDirection?
- The value.
public PowerPointTextBoxScope PlaceholderSize(PowerPointPlaceholderSize? value) #Sets PowerPointTextBox.PlaceholderSize: Gets or sets the preferred placeholder size.
Parameters
- value OfficeIMO.PowerPoint.PowerPointPlaceholderSize?
- The value.
public PowerPointTextBoxScope PlaceholderType(PowerPointPlaceholderType? value) #Sets PowerPointTextBox.PlaceholderType: Gets or sets the placeholder type for this textbox.
Parameters
- value OfficeIMO.PowerPoint.PowerPointPlaceholderType?
- The value.
public PowerPointTextBoxScope Position(OfficeLength left, OfficeLength top) #Sets position with explicit lengths.
Parameters
- left OfficeIMO.OfficeLength
- The value.
- top OfficeIMO.OfficeLength
- The value.
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) #Applies a reflection effect to the shape.
Parameters
- blur OfficeIMO.OfficeLength? = null
- The value.
- distance OfficeIMO.OfficeLength? = null
- The value.
- directionDegrees double = 270
- The value.
- fadeDirectionDegrees double = 90
- The value.
- startOpacityPercent int = 50
- The value.
- endOpacityPercent int = 0
- The value.
- startPositionPercent int = 0
- The value.
- endPositionPercent int = 100
- The value.
- alignment OfficeIMO.PowerPoint.PowerPointRectangleAlignment? = null
- The value.
- rotateWithShape bool = false
- The value.
public PowerPointTextBoxScope Right(OfficeLength value) #Sets PowerPointShape.Right: Right of the shape.
Parameters
- value OfficeIMO.OfficeLength
- The value.
public PowerPointTextBoxScope Rotation(double? value) #Sets PowerPointShape.Rotation: Gets or sets rotation in degrees.
Parameters
- value double?
- The value.
public PowerPointTextBoxScope 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
- The value.
- blur OfficeIMO.OfficeLength? = null
- The value.
- distance OfficeIMO.OfficeLength? = null
- The value.
- angleDegrees double = 45
- The value.
- transparencyPercent int = 35
- The value.
- rotateWithShape bool = false
- The value.
public PowerPointTextBoxScope Size(OfficeLength width, OfficeLength height) #Sets size with explicit lengths.
Parameters
- width OfficeIMO.OfficeLength
- The value.
- height OfficeIMO.OfficeLength
- The value.
public PowerPointTextBoxScope SoftEdges(OfficeLength radius) #Applies a soft edges effect to the shape.
Parameters
- radius OfficeIMO.OfficeLength
- The value.
public PowerPointTextBoxScope Text(string value) #Sets PowerPointTextBox.Text: Text contained in the textbox.
Parameters
- value string
- The value.
public PowerPointTextBoxScope TextAutoFit(PowerPointTextAutoFit fit, PowerPointTextAutoFitOptions? options = null) #Sets the auto-fit mode and optional Normal auto-fit options.
Parameters
- fit OfficeIMO.PowerPoint.PowerPointTextAutoFit
- The value.
- options OfficeIMO.PowerPoint.PowerPointTextAutoFitOptions? = null
- The value.
public PowerPointTextBoxScope TextAutoFit(PowerPointTextAutoFit? value) #Sets PowerPointTextBox.TextAutoFit: Gets or sets the text auto-fit behavior.
Parameters
- value OfficeIMO.PowerPoint.PowerPointTextAutoFit?
- The value.
public PowerPointTextBoxScope TextAutoFitOptions(PowerPointTextAutoFitOptions? value) #Sets PowerPointTextBox.TextAutoFitOptions: Gets or sets detailed auto-fit options (only applies to Normal auto-fit).
Parameters
- value OfficeIMO.PowerPoint.PowerPointTextAutoFitOptions?
- The value.
public PowerPointTextBoxScope TextDirection(PowerPointTextDirection? value) #Sets PowerPointTextBox.TextDirection: Gets or sets the text direction (horizontal/vertical).
Parameters
- value OfficeIMO.PowerPoint.PowerPointTextDirection?
- The value.
public PowerPointTextBoxScope TextMarginBottom(OfficeLength? value) #Sets PowerPointTextBox.TextMarginBottom: Gets or sets the bottom text margin as a physical length.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public PowerPointTextBoxScope TextMarginLeft(OfficeLength? value) #Sets PowerPointTextBox.TextMarginLeft: Gets or sets the left text margin as a physical length.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public PowerPointTextBoxScope TextMarginRight(OfficeLength? value) #Sets PowerPointTextBox.TextMarginRight: Gets or sets the right text margin as a physical length.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public PowerPointTextBoxScope TextMargins(OfficeLength left, OfficeLength top, OfficeLength right, OfficeLength bottom) #Sets all text margins as a physical length.
Parameters
- left OfficeIMO.OfficeLength
- The value.
- top OfficeIMO.OfficeLength
- The value.
- right OfficeIMO.OfficeLength
- The value.
- bottom OfficeIMO.OfficeLength
- The value.
public PowerPointTextBoxScope TextMarginTop(OfficeLength? value) #Sets PowerPointTextBox.TextMarginTop: Gets or sets the top text margin as a physical length.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public PowerPointTextBoxScope TextVerticalAlignment(PowerPointTextVerticalAlignment? value) #Sets PowerPointTextBox.TextVerticalAlignment: Gets or sets the vertical anchoring of text inside the textbox.
Parameters
- value OfficeIMO.PowerPoint.PowerPointTextVerticalAlignment?
- The value.
public PowerPointTextBoxScope Top(OfficeLength value) #Sets PowerPointShape.Top: Top of the shape.
Parameters
- value OfficeIMO.OfficeLength
- The value.
public PowerPointTextBoxScope VerticalFlip(bool? value = true) #Sets PowerPointShape.VerticalFlip: Gets or sets vertical flip.
Parameters
- value bool? = true
- The value; true when omitted.
public PowerPointTextBoxScope Width(OfficeLength value) #Sets PowerPointShape.Width: Width of the shape.
Parameters
- value OfficeIMO.OfficeLength
- The value.
Inherited Methods
Properties
public PowerPointTextBox Model { get; } #The PowerPointTextBox this scope edits, for plain C# inside a lambda.