# WordShapeScope

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

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

sealed

Edits one [WordShape](/api/word/officeimo-word-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.

### Returned or exposed by 15

- Method [WordShapeScope.ArcSize](/api/word/officeimo-word-wordshapescope/#method-arcsize-nullable-system-double)
- Method [WordShapeScope.Description](/api/word/officeimo-word-wordshapescope/#method-description-string)
- Method [WordShapeScope.FillColor](/api/word/officeimo-word-wordshapescope/#method-fillcolor-officeimo-officecolor)
- Method [WordShapeScope.Height](/api/word/officeimo-word-wordshapescope/#method-height-officeimo-officelength)
- Method [WordShapeScope.Hidden](/api/word/officeimo-word-wordshapescope/#method-hidden-nullable-system-boolean)
- Method [WordShapeScope.Id](/api/word/officeimo-word-wordshapescope/#method-id-string)
- Method [WordShapeScope.Left](/api/word/officeimo-word-wordshapescope/#method-left-nullable-officeimo-officelength)
- Method [WordShapeScope.Rotation](/api/word/officeimo-word-wordshapescope/#method-rotation-nullable-system-double)
- Method [WordShapeScope.StrokeColor](/api/word/officeimo-word-wordshapescope/#method-strokecolor-officeimo-officecolor)
- Method [WordShapeScope.Stroked](/api/word/officeimo-word-wordshapescope/#method-stroked-nullable-system-boolean)
- Method [WordShapeScope.StrokeWeight](/api/word/officeimo-word-wordshapescope/#method-strokeweight-nullable-officeimo-officelength)
- Method [WordShapeScope.Title](/api/word/officeimo-word-wordshapescope/#method-title-string)
- Method [WordShapeScope.Top](/api/word/officeimo-word-wordshapescope/#method-top-nullable-officeimo-officelength)
- Method [WordShapeScope.Width](/api/word/officeimo-word-wordshapescope/#method-width-officeimo-officelength)
- Method [WordShapeScope.ZIndex](/api/word/officeimo-word-wordshapescope/#method-zindex-nullable-system-int32)

### Accepted by parameters 4

- Method [WordDocumentScope.Shape](/api/word/officeimo-word-worddocumentscope/#method-shape-officeimo-word-wordshapetype-officeimo-officelength-officeimo-officelength-nullable-officeimo-officecolor-nullable-officeimo-officecolor-nullable-officeimo-officelength-double-action-officeimo-word-wordshapescope) parameter `configure`
- Method [WordHeaderScope.Shape](/api/word/officeimo-word-wordheaderscope/#method-shape-officeimo-word-wordshapetype-officeimo-officelength-officeimo-officelength-nullable-officeimo-officecolor-nullable-officeimo-officecolor-nullable-officeimo-officelength-double-action-officeimo-word-wordshapescope) parameter `configure`
- Method [WordParagraphScope.Shape](/api/word/officeimo-word-wordparagraphscope/#method-shape-officeimo-word-wordshapetype-officeimo-officelength-officeimo-officelength-nullable-officeimo-officecolor-nullable-officeimo-officecolor-nullable-officeimo-officelength-double-action-officeimo-word-wordshapescope) parameter `configure`
- Method [WordSectionScope.Shape](/api/word/officeimo-word-wordsectionscope/#method-shape-officeimo-word-wordshapetype-officeimo-officelength-officeimo-officelength-nullable-officeimo-officecolor-nullable-officeimo-officecolor-nullable-officeimo-officelength-double-action-officeimo-word-wordshapescope) parameter `configure`

Filter members 

Show inherited

## Methods

`public WordShapeScope ArcSize(double? value)` [#](#method-arcsize-nullable-system-double)

Sets [WordShape.ArcSize](/api/word/officeimo-word-wordshape/): 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)` [#](#method-description-string)

Sets [WordShape.Description](/api/word/officeimo-word-wordshape/): 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)` [#](#method-fillcolor-officeimo-officecolor)

Sets [WordShape.FillColor](/api/word/officeimo-word-wordshape/): 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)` [#](#method-height-officeimo-officelength)

Sets [WordShape.Height](/api/word/officeimo-word-wordshape/): 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)` [#](#method-hidden-nullable-system-boolean)

Sets [WordShape.Hidden](/api/word/officeimo-word-wordshape/): 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)` [#](#method-id-string)

Sets [WordShape.Id](/api/word/officeimo-word-wordshape/): Gets or sets the VML shape identifier.

Parameters

**value string required**

The value.

Returns

`WordShapeScope` The same scope.

`public WordShapeScope Left(OfficeLength? value)` [#](#method-left-nullable-officeimo-officelength)

Sets [WordShape.Left](/api/word/officeimo-word-wordshape/): 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)` [#](#method-rotation-nullable-system-double)

Sets [WordShape.Rotation](/api/word/officeimo-word-wordshape/): 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)` [#](#method-strokecolor-officeimo-officecolor)

Sets [WordShape.StrokeColor](/api/word/officeimo-word-wordshape/): 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)` [#](#method-stroked-nullable-system-boolean)

Sets [WordShape.Stroked](/api/word/officeimo-word-wordshape/): 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)` [#](#method-strokeweight-nullable-officeimo-officelength)

Sets [WordShape.StrokeWeight](/api/word/officeimo-word-wordshape/): 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)` [#](#method-title-string)

Sets [WordShape.Title](/api/word/officeimo-word-wordshape/): Gets or sets the optional VML shape title.

Parameters

**value string? required**

The value.

Returns

`WordShapeScope` The same scope.

`public WordShapeScope Top(OfficeLength? value)` [#](#method-top-nullable-officeimo-officelength)

Sets [WordShape.Top](/api/word/officeimo-word-wordshape/): 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)` [#](#method-width-officeimo-officelength)

Sets [WordShape.Width](/api/word/officeimo-word-wordshape/): 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)` [#](#method-zindex-nullable-system-int32)

Sets [WordShape.ZIndex](/api/word/officeimo-word-wordshape/): 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.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public WordShape Model { get; }` [#](#property-model)

The [WordShape](/api/word/officeimo-word-wordshape/) this scope edits, for plain C# inside a lambda.

<!-- PowerForge markdown artifact sha256:7842D4003B7251DADD62CE26F7D3603C3E19ECECAAD592E666DB921105356E56 -->
