PowerPointTextBoxFluent
OfficeIMO.PowerPoint
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
- The instance.
- bold bool = true
- 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
- The instance.
- color OfficeIMO.OfficeColor?
- 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
- The instance.
- fontFamily string?
- 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
- The instance.
- fontSize OfficeIMO.OfficeLength?
- 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
- The instance.
- italic bool = true
- 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
- The instance.
- value uint?
- 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
- The instance.
- value OfficeIMO.PowerPoint.PowerPointPlaceholderDirection?
- 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
- The instance.
- value OfficeIMO.PowerPoint.PowerPointPlaceholderSize?
- 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
- The instance.
- value OfficeIMO.PowerPoint.PowerPointPlaceholderType?
- 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
- The instance.
- value OfficeIMO.PowerPoint.PowerPointTextAutoFitOptions?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointTextBox.TextAutoFitOptions = value; powerPointTextBox.TextAutoFitOptions(value);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
- The instance.
- fit OfficeIMO.PowerPoint.PowerPointTextAutoFit
- The value.
- options OfficeIMO.PowerPoint.PowerPointTextAutoFitOptions? = null
- 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
- The instance.
- value OfficeIMO.PowerPoint.PowerPointTextAutoFit?
- 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
- The instance.
- value OfficeIMO.PowerPoint.PowerPointTextDirection?
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- 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
- The instance.
- left OfficeIMO.OfficeLength
- The value.
- top OfficeIMO.OfficeLength
- The value.
- right OfficeIMO.OfficeLength
- The value.
- bottom OfficeIMO.OfficeLength
- 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
- The instance.
- value OfficeIMO.OfficeLength?
- 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
- The instance.
- value OfficeIMO.PowerPoint.PowerPointTextVerticalAlignment?
- 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
- The instance.
- value string
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointTextBox.Text = value; powerPointTextBox.Text(value);