WordShapeScope
OfficeIMO.Word
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.
Returned or exposed by 15
- Method WordShapeScope.ArcSize
- Method WordShapeScope.Description
- Method WordShapeScope.FillColor
- Method WordShapeScope.Height
- Method WordShapeScope.Hidden
- Method WordShapeScope.Id
- Method WordShapeScope.Left
- Method WordShapeScope.Rotation
- Method WordShapeScope.StrokeColor
- Method WordShapeScope.Stroked
- Method WordShapeScope.StrokeWeight
- Method WordShapeScope.Title
- Method WordShapeScope.Top
- Method WordShapeScope.Width
- Method WordShapeScope.ZIndex
Accepted by parameters 4
- Method WordDocumentScope.Shape
- Method WordHeaderScope.Shape
- Method WordParagraphScope.Shape
- Method WordSectionScope.Shape
Methods
public WordShapeScope ArcSize(double? value) #Sets WordShape.ArcSize: Gets or sets the corner roundness of a VML rounded rectangle.
Parameters
- value double?
- The value.
public WordShapeScope Description(string? value) #Sets WordShape.Description: Gets or sets the VML shape's alternative text.
Parameters
- value string?
- The value.
public WordShapeScope FillColor(OfficeColor value) #Sets WordShape.FillColor: Gets or sets the resolved fill color, retaining DrawingML theme references.
Parameters
- value OfficeIMO.OfficeColor
- The value.
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
- The value.
public WordShapeScope Id(string value) #Sets WordShape.Id: Gets or sets the VML shape identifier.
Parameters
- value string
- The value.
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?
- The value.
public WordShapeScope Rotation(double? value) #Sets WordShape.Rotation: Rotation of the shape in degrees. Returns null when not set.
Parameters
- value double?
- The value.
public WordShapeScope StrokeColor(OfficeColor value) #Sets WordShape.StrokeColor: Gets or sets the resolved outline color, retaining DrawingML theme references.
Parameters
- value OfficeIMO.OfficeColor
- The value.
public WordShapeScope Stroked(bool? value = true) #Sets WordShape.Stroked: Gets or sets whether Word draws the VML outline.
Parameters
- value bool? = true
- The value; true when omitted.
public WordShapeScope StrokeWeight(OfficeLength? value) #Sets WordShape.StrokeWeight: Gets or sets the outline thickness while preserving other outline formatting.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public WordShapeScope Title(string? value) #Sets WordShape.Title: Gets or sets the optional VML shape title.
Parameters
- value string?
- The value.
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?
- The value.
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
- The value.
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?
- The value.