Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordTextBoxScope

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
sealed

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

Inheritance

  • object
  • WordTextBoxScope

Usage

Explore 20 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.

Accepted by parameters 4

Methods

public WordTextBoxScope AutoFit(WordTextBoxAutoFitType value) #

Sets WordTextBox.AutoFit: Gets or sets how the box automatically fits its text.

Parameters

value OfficeIMO.Word.WordTextBoxAutoFitType required
The value.

Returns

WordTextBoxScope The same scope.
public WordTextBoxScope AutoFitToTextSize(bool value = true) #

Sets WordTextBox.AutoFitToTextSize: Gets or sets whether the box resizes to fit its text.

Parameters

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

Returns

WordTextBoxScope The same scope.
public WordTextBoxScope Description(string? value) #

Sets WordTextBox.Description: Gets or sets the accessibility description for the text box.

Parameters

value string? required
The value.

Returns

WordTextBoxScope The same scope.
public WordTextBoxScope FillColor(OfficeColor? value) #

Sets WordTextBox.FillColor: Gets or sets the DrawingML solid RGB fill.

Parameters

value OfficeIMO.OfficeColor? required
The value.

Returns

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

Sets WordTextBox.Height: Gets or sets the physical height of the box.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

WordTextBoxScope The same scope.
public WordTextBoxScope HorizontalAlignment(WordTextBoxHorizontalAlignment value) #

Sets WordTextBox.HorizontalAlignment: Gets or sets the horizontal alignment for anchored boxes.

Parameters

value OfficeIMO.Word.WordTextBoxHorizontalAlignment required
The value.

Returns

WordTextBoxScope The same scope.
public WordTextBoxScope HorizontalPositionOffset(OfficeLength? value) #

Sets WordTextBox.HorizontalPositionOffset: Gets or sets a horizontal offset in physical units.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordTextBoxScope The same scope.
public WordTextBoxScope HorizontalPositionRelativeFrom(WordHorizontalRelativePosition? value) #

Sets WordTextBox.HorizontalPositionRelativeFrom: Gets or sets the horizontal position reference point.

Parameters

value OfficeIMO.Word.WordHorizontalRelativePosition? required
The value.

Returns

WordTextBoxScope The same scope.
public WordTextBoxScope RelativeHeightPercentage(int? value) #

Sets WordTextBox.RelativeHeightPercentage: Gets or sets the relative height percentage.

Parameters

value int? required
The value.

Returns

WordTextBoxScope The same scope.
public WordTextBoxScope RelativeWidthPercentage(int? value) #

Sets WordTextBox.RelativeWidthPercentage: Gets or sets the relative width percentage.

Parameters

value int? required
The value.

Returns

WordTextBoxScope The same scope.
public WordTextBoxScope SizeRelativeHorizontally(WordTextBoxHorizontalSizeReference? value) #

Sets WordTextBox.SizeRelativeHorizontally: Gets or sets the horizontal reference used by relative sizing.

Parameters

value OfficeIMO.Word.WordTextBoxHorizontalSizeReference? required
The value.

Returns

WordTextBoxScope The same scope.
public WordTextBoxScope VerticalPositionOffset(OfficeLength? value) #

Sets WordTextBox.VerticalPositionOffset: Gets or sets a vertical offset in physical units.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordTextBoxScope The same scope.
public WordTextBoxScope VerticalPositionRelativeFrom(WordVerticalRelativePosition value) #

Sets WordTextBox.VerticalPositionRelativeFrom: Gets or sets the vertical position reference point.

Parameters

value OfficeIMO.Word.WordVerticalRelativePosition required
The value.

Returns

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

Sets WordTextBox.Width: Gets or sets the physical width of the box.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

WordTextBoxScope The same scope.
public WordTextBoxScope WrapText(WordImageTextWrapping? value) #

Sets WordTextBox.WrapText: Gets or sets the text wrapping mode for the box.

Parameters

value OfficeIMO.Word.WordImageTextWrapping? required
The value.

Returns

WordTextBoxScope The same scope.
public WordTextBoxScope ZOrder(uint value) #

Sets WordTextBox.ZOrder: Gets or sets the DrawingML anchor stacking order.

Parameters

value uint required
The value.

Returns

WordTextBoxScope The same scope.

Properties

public WordTextBox Model { get; } #

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