WordShapeFluent
OfficeIMO.Word
The fluent methods of WordShape, 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
- WordShapeFluent
Methods
public static TSelf ArcSize<TSelf>(TSelf wordShape, double? value) #Sets WordShape.ArcSize: Gets or sets the corner roundness of a VML rounded rectangle.
Type Parameters
- TSelf
Parameters
- wordShape TSelf
- The instance.
- value double?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordShape.ArcSize = value; wordShape.ArcSize(value);public static TSelf Description<TSelf>(TSelf wordShape, string? value) #Sets WordShape.Description: Gets or sets the VML shape's alternative text.
Type Parameters
- TSelf
Parameters
- wordShape TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordShape.Description = value; wordShape.Description(value);public static TSelf FillColor<TSelf>(TSelf wordShape, OfficeColor value) #Sets WordShape.FillColor: Gets or sets the resolved fill color, retaining DrawingML theme references.
Type Parameters
- TSelf
Parameters
- wordShape TSelf
- The instance.
- value OfficeIMO.OfficeColor
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordShape.FillColor = value; wordShape.FillColor(value);public static TSelf Height<TSelf>(TSelf wordShape, OfficeLength value) #Sets WordShape.Height: Gets or sets the displayed shape height. Returns zero when no height is stored.
Type Parameters
- TSelf
Parameters
- wordShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordShape.Height = value; wordShape.Height(value);public static TSelf Id<TSelf>(TSelf wordShape, string value) #Sets WordShape.Id: Gets or sets the VML shape identifier.
Type Parameters
- TSelf
Parameters
- wordShape TSelf
- The instance.
- value string
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordShape.Id = value; wordShape.Id(value);public static TSelf Left<TSelf>(TSelf wordShape, OfficeLength? value) #Sets WordShape.Left: Gets or sets the horizontal shape offset. Setting an inline shape's offset anchors it.
Type Parameters
- TSelf
Parameters
- wordShape TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordShape.Left = value; wordShape.Left(value);public static TSelf Rotation<TSelf>(TSelf wordShape, double? value) #Sets WordShape.Rotation: Rotation of the shape in degrees. Returns null when not set.
Type Parameters
- TSelf
Parameters
- wordShape TSelf
- The instance.
- value double?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordShape.Rotation = value; wordShape.Rotation(value);public static TSelf StrokeColor<TSelf>(TSelf wordShape, OfficeColor value) #Sets WordShape.StrokeColor: Gets or sets the resolved outline color, retaining DrawingML theme references.
Type Parameters
- TSelf
Parameters
- wordShape TSelf
- The instance.
- value OfficeIMO.OfficeColor
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordShape.StrokeColor = value; wordShape.StrokeColor(value);public static TSelf Stroked<TSelf>(TSelf wordShape, bool? value = true) #Sets WordShape.Stroked: Gets or sets whether Word draws the VML outline.
Type Parameters
- TSelf
Parameters
- wordShape TSelf
- The instance.
- value bool? = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordShape.Stroked = value; wordShape.Stroked(value);public static TSelf StrokeWeight<TSelf>(TSelf wordShape, OfficeLength? value) #Sets WordShape.StrokeWeight: Gets or sets the outline thickness while preserving other outline formatting.
Type Parameters
- TSelf
Parameters
- wordShape TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordShape.StrokeWeight = value; wordShape.StrokeWeight(value);public static TSelf Title<TSelf>(TSelf wordShape, string? value) #Sets WordShape.Title: Gets or sets the optional VML shape title.
Type Parameters
- TSelf
Parameters
- wordShape TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordShape.Title = value; wordShape.Title(value);public static TSelf Top<TSelf>(TSelf wordShape, OfficeLength? value) #Sets WordShape.Top: Gets or sets the vertical shape offset. Setting an inline shape's offset anchors it.
Type Parameters
- TSelf
Parameters
- wordShape TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordShape.Top = value; wordShape.Top(value);public static TSelf Width<TSelf>(TSelf wordShape, OfficeLength value) #Sets WordShape.Width: Gets or sets the displayed shape width. Returns zero when no width is stored.
Type Parameters
- TSelf
Parameters
- wordShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordShape.Width = value; wordShape.Width(value);public static TSelf ZIndex<TSelf>(TSelf wordShape, int? value) #Sets WordShape.ZIndex: Gets or sets the z-index for VML shapes (style "z-index"). DrawingML is not affected.
Type Parameters
- TSelf
Parameters
- wordShape TSelf
- The instance.
- value int?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordShape.ZIndex = value; wordShape.ZIndex(value);