Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointTextBoxFluent

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Modifiers
static

The fluent methods of PowerPointTextBox, 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
  • PowerPointTextBoxFluent

Methods

public static TSelf Bold<TSelf>(TSelf powerPointTextBox, bool bold = true) #

Sets PowerPointTextBox.Bold for the entire text box and returns this instance.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
bold bool = true optional
The value.

Returns

TSelf The same instance.
public static TSelf Color<TSelf>(TSelf powerPointTextBox, OfficeColor? color) #

Sets PowerPointTextBox.Color for the entire text box and returns this instance.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
color OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.
public static TSelf FontFamily<TSelf>(TSelf powerPointTextBox, string? fontFamily) #

Sets PowerPointTextBox.FontFamily for the entire text box and returns this instance.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
fontFamily string? required
The value.

Returns

TSelf The same instance.
public static TSelf FontSize<TSelf>(TSelf powerPointTextBox, OfficeLength? fontSize) #

Sets PowerPointTextBox.FontSize for the entire text box and returns this instance.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
fontSize OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.
public static TSelf Italic<TSelf>(TSelf powerPointTextBox, bool italic = true) #

Sets PowerPointTextBox.Italic for the entire text box and returns this instance.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
italic bool = true optional
The value.

Returns

TSelf The same instance.
public static TSelf PlaceholderIndex<TSelf>(TSelf powerPointTextBox, uint? value) #

Sets PowerPointTextBox.PlaceholderIndex: Gets or sets the placeholder index for this textbox.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
value uint? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                  // C# fluent
powerPointTextBox.PlaceholderIndex = value;    powerPointTextBox.PlaceholderIndex(value);
public static TSelf PlaceholderOrientation<TSelf>(TSelf powerPointTextBox, PowerPointPlaceholderDirection? value) #

Sets PowerPointTextBox.PlaceholderOrientation: Gets or sets the placeholder orientation.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
value OfficeIMO.PowerPoint.PowerPointPlaceholderDirection? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                        // C# fluent
powerPointTextBox.PlaceholderOrientation = value;    powerPointTextBox.PlaceholderOrientation(value);
public static TSelf PlaceholderSize<TSelf>(TSelf powerPointTextBox, PowerPointPlaceholderSize? value) #

Sets PowerPointTextBox.PlaceholderSize: Gets or sets the preferred placeholder size.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
value OfficeIMO.PowerPoint.PowerPointPlaceholderSize? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                 // C# fluent
powerPointTextBox.PlaceholderSize = value;    powerPointTextBox.PlaceholderSize(value);
public static TSelf PlaceholderType<TSelf>(TSelf powerPointTextBox, PowerPointPlaceholderType? value) #

Sets PowerPointTextBox.PlaceholderType: Gets or sets the placeholder type for this textbox.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
value OfficeIMO.PowerPoint.PowerPointPlaceholderType? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                 // C# fluent
powerPointTextBox.PlaceholderType = value;    powerPointTextBox.PlaceholderType(value);
public static TSelf TextAutoFitOptions<TSelf>(TSelf powerPointTextBox, PowerPointTextAutoFitOptions? value) #

Sets PowerPointTextBox.TextAutoFitOptions: Gets or sets detailed auto-fit options (only applies to Normal auto-fit).

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
value OfficeIMO.PowerPoint.PowerPointTextAutoFitOptions? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                    // C# fluent
powerPointTextBox.TextAutoFitOptions = value;    powerPointTextBox.TextAutoFitOptions(value);
TextAutoFit``1 2 overloads
public static TSelf TextAutoFit<TSelf>(TSelf powerPointTextBox, PowerPointTextAutoFit fit, PowerPointTextAutoFitOptions? options = null) #

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

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
fit OfficeIMO.PowerPoint.PowerPointTextAutoFit required
The value.
options OfficeIMO.PowerPoint.PowerPointTextAutoFitOptions? = null optional
The value.

Returns

TSelf The same instance.
public static TSelf TextAutoFit<TSelf>(TSelf powerPointTextBox, PowerPointTextAutoFit? value) #

Sets PowerPointTextBox.TextAutoFit: Gets or sets the text auto-fit behavior.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
value OfficeIMO.PowerPoint.PowerPointTextAutoFit? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property             // C# fluent
powerPointTextBox.TextAutoFit = value;    powerPointTextBox.TextAutoFit(value);
public static TSelf TextDirection<TSelf>(TSelf powerPointTextBox, PowerPointTextDirection? value) #

Sets PowerPointTextBox.TextDirection: Gets or sets the text direction (horizontal/vertical).

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
value OfficeIMO.PowerPoint.PowerPointTextDirection? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property               // C# fluent
powerPointTextBox.TextDirection = value;    powerPointTextBox.TextDirection(value);
public static TSelf TextMarginBottom<TSelf>(TSelf powerPointTextBox, OfficeLength? value) #

Sets PowerPointTextBox.TextMarginBottom: Gets or sets the bottom text margin as a physical length.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                  // C# fluent
powerPointTextBox.TextMarginBottom = value;    powerPointTextBox.TextMarginBottom(value);
public static TSelf TextMarginLeft<TSelf>(TSelf powerPointTextBox, OfficeLength? value) #

Sets PowerPointTextBox.TextMarginLeft: Gets or sets the left text margin as a physical length.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                // C# fluent
powerPointTextBox.TextMarginLeft = value;    powerPointTextBox.TextMarginLeft(value);
public static TSelf TextMarginRight<TSelf>(TSelf powerPointTextBox, OfficeLength? value) #

Sets PowerPointTextBox.TextMarginRight: Gets or sets the right text margin as a physical length.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                 // C# fluent
powerPointTextBox.TextMarginRight = value;    powerPointTextBox.TextMarginRight(value);
public static TSelf TextMargins<TSelf>(TSelf powerPointTextBox, OfficeLength left, OfficeLength top, OfficeLength right, OfficeLength bottom) #

Sets all text margins as a physical length.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
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

TSelf The same instance.
public static TSelf TextMarginTop<TSelf>(TSelf powerPointTextBox, OfficeLength? value) #

Sets PowerPointTextBox.TextMarginTop: Gets or sets the top text margin as a physical length.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property               // C# fluent
powerPointTextBox.TextMarginTop = value;    powerPointTextBox.TextMarginTop(value);
public static TSelf TextVerticalAlignment<TSelf>(TSelf powerPointTextBox, PowerPointTextVerticalAlignment? value) #

Sets PowerPointTextBox.TextVerticalAlignment: Gets or sets the vertical anchoring of text inside the textbox.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
value OfficeIMO.PowerPoint.PowerPointTextVerticalAlignment? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                       // C# fluent
powerPointTextBox.TextVerticalAlignment = value;    powerPointTextBox.TextVerticalAlignment(value);
public static TSelf Text<TSelf>(TSelf powerPointTextBox, string value) #

Sets PowerPointTextBox.Text: Text contained in the textbox.

Type Parameters

TSelf

Parameters

powerPointTextBox TSelf required
The instance.
value string required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property      // C# fluent
powerPointTextBox.Text = value;    powerPointTextBox.Text(value);