Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordShapeScope

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
sealed

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

Inheritance

  • object
  • WordShapeScope

Usage

Explore 19 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 WordShapeScope ArcSize(double? value) #

Sets WordShape.ArcSize: Gets or sets the corner roundness of a VML rounded rectangle.

Parameters

value double? required
The value.

Returns

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

Sets WordShape.Description: Gets or sets the VML shape's alternative text.

Parameters

value string? required
The value.

Returns

WordShapeScope The same scope.
public WordShapeScope FillColor(OfficeColor value) #

Sets WordShape.FillColor: Gets or sets the resolved fill color, retaining DrawingML theme references.

Parameters

value OfficeIMO.OfficeColor required
The value.

Returns

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

Sets WordShape.Height: Gets or sets the displayed shape height. Returns zero when no height is stored.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

WordShapeScope The same scope.
public WordShapeScope Hidden(bool? value = true) #

Sets WordShape.Hidden: Gets or sets the VML shape's visibility.

Parameters

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

Returns

WordShapeScope The same scope.
public WordShapeScope Id(string value) #

Sets WordShape.Id: Gets or sets the VML shape identifier.

Parameters

value string required
The value.

Returns

WordShapeScope The same scope.
public WordShapeScope Left(OfficeLength? value) #

Sets WordShape.Left: Gets or sets the horizontal shape offset. Setting an inline shape's offset anchors it.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordShapeScope The same scope.
public WordShapeScope Rotation(double? value) #

Sets WordShape.Rotation: Rotation of the shape in degrees. Returns null when not set.

Parameters

value double? required
The value.

Returns

WordShapeScope The same scope.
public WordShapeScope StrokeColor(OfficeColor value) #

Sets WordShape.StrokeColor: Gets or sets the resolved outline color, retaining DrawingML theme references.

Parameters

value OfficeIMO.OfficeColor required
The value.

Returns

WordShapeScope The same scope.
public WordShapeScope Stroked(bool? value = true) #

Sets WordShape.Stroked: Gets or sets whether Word draws the VML outline.

Parameters

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

Returns

WordShapeScope The same scope.
public WordShapeScope StrokeWeight(OfficeLength? value) #

Sets WordShape.StrokeWeight: Gets or sets the outline thickness while preserving other outline formatting.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordShapeScope The same scope.
public WordShapeScope Title(string? value) #

Sets WordShape.Title: Gets or sets the optional VML shape title.

Parameters

value string? required
The value.

Returns

WordShapeScope The same scope.
public WordShapeScope Top(OfficeLength? value) #

Sets WordShape.Top: Gets or sets the vertical shape offset. Setting an inline shape's offset anchors it.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

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

Sets WordShape.Width: Gets or sets the displayed shape width. Returns zero when no width is stored.

Parameters

value OfficeIMO.OfficeLength required
The value.

Returns

WordShapeScope The same scope.
public WordShapeScope ZIndex(int? value) #

Sets WordShape.ZIndex: Gets or sets the z-index for VML shapes (style "z-index"). DrawingML is not affected.

Parameters

value int? required
The value.

Returns

WordShapeScope The same scope.

Properties

public WordShape Model { get; } #

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