WordTextBoxScope
OfficeIMO.Word
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.
Returned or exposed by 16
- Method WordTextBoxScope.AutoFit
- Method WordTextBoxScope.AutoFitToTextSize
- Method WordTextBoxScope.Description
- Method WordTextBoxScope.FillColor
- Method WordTextBoxScope.Height
- Method WordTextBoxScope.HorizontalAlignment
- Method WordTextBoxScope.HorizontalPositionOffset
- Method WordTextBoxScope.HorizontalPositionRelativeFrom
- Method WordTextBoxScope.RelativeHeightPercentage
- Method WordTextBoxScope.RelativeWidthPercentage
- Method WordTextBoxScope.SizeRelativeHorizontally
- Method WordTextBoxScope.VerticalPositionOffset
- Method WordTextBoxScope.VerticalPositionRelativeFrom
- Method WordTextBoxScope.Width
- Method WordTextBoxScope.WrapText
- Method WordTextBoxScope.ZOrder
Accepted by parameters 4
- Method WordDocumentScope.TextBox
- Method WordHeaderScope.TextBox
- Method WordParagraphScope.TextBox
- Method WordSectionScope.TextBox
Methods
public WordTextBoxScope AutoFit(WordTextBoxAutoFitType value) #Sets WordTextBox.AutoFit: Gets or sets how the box automatically fits its text.
Parameters
- value OfficeIMO.Word.WordTextBoxAutoFitType
- The value.
public WordTextBoxScope AutoFitToTextSize(bool value = true) #Sets WordTextBox.AutoFitToTextSize: Gets or sets whether the box resizes to fit its text.
Parameters
- value bool = true
- The value; true when omitted.
public WordTextBoxScope Description(string? value) #Sets WordTextBox.Description: Gets or sets the accessibility description for the text box.
Parameters
- value string?
- The value.
public WordTextBoxScope FillColor(OfficeColor? value) #Sets WordTextBox.FillColor: Gets or sets the DrawingML solid RGB fill.
Parameters
- value OfficeIMO.OfficeColor?
- The value.
public WordTextBoxScope Height(OfficeLength value) #Sets WordTextBox.Height: Gets or sets the physical height of the box.
Parameters
- value OfficeIMO.OfficeLength
- The value.
public WordTextBoxScope HorizontalAlignment(WordTextBoxHorizontalAlignment value) #Sets WordTextBox.HorizontalAlignment: Gets or sets the horizontal alignment for anchored boxes.
Parameters
- value OfficeIMO.Word.WordTextBoxHorizontalAlignment
- The value.
public WordTextBoxScope HorizontalPositionOffset(OfficeLength? value) #Sets WordTextBox.HorizontalPositionOffset: Gets or sets a horizontal offset in physical units.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public WordTextBoxScope HorizontalPositionRelativeFrom(WordHorizontalRelativePosition? value) #Sets WordTextBox.HorizontalPositionRelativeFrom: Gets or sets the horizontal position reference point.
Parameters
- value OfficeIMO.Word.WordHorizontalRelativePosition?
- The value.
public WordTextBoxScope RelativeHeightPercentage(int? value) #Sets WordTextBox.RelativeHeightPercentage: Gets or sets the relative height percentage.
Parameters
- value int?
- The value.
public WordTextBoxScope RelativeWidthPercentage(int? value) #Sets WordTextBox.RelativeWidthPercentage: Gets or sets the relative width percentage.
Parameters
- value int?
- The value.
public WordTextBoxScope SizeRelativeHorizontally(WordTextBoxHorizontalSizeReference? value) #Sets WordTextBox.SizeRelativeHorizontally: Gets or sets the horizontal reference used by relative sizing.
Parameters
- value OfficeIMO.Word.WordTextBoxHorizontalSizeReference?
- The value.
public WordTextBoxScope VerticalPositionOffset(OfficeLength? value) #Sets WordTextBox.VerticalPositionOffset: Gets or sets a vertical offset in physical units.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public WordTextBoxScope VerticalPositionRelativeFrom(WordVerticalRelativePosition value) #Sets WordTextBox.VerticalPositionRelativeFrom: Gets or sets the vertical position reference point.
Parameters
- value OfficeIMO.Word.WordVerticalRelativePosition
- The value.
public WordTextBoxScope Width(OfficeLength value) #Sets WordTextBox.Width: Gets or sets the physical width of the box.
Parameters
- value OfficeIMO.OfficeLength
- The value.
public WordTextBoxScope WrapText(WordImageTextWrapping? value) #Sets WordTextBox.WrapText: Gets or sets the text wrapping mode for the box.
Parameters
- value OfficeIMO.Word.WordImageTextWrapping?
- The value.
public WordTextBoxScope ZOrder(uint value) #Sets WordTextBox.ZOrder: Gets or sets the DrawingML anchor stacking order.
Parameters
- value uint
- The value.
Inherited Methods
Properties
public WordTextBox Model { get; } #The WordTextBox this scope edits, for plain C# inside a lambda.