Shape Properties

The Shape type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleAllowOverlap
Gets or sets a value that specifies whether this shape can overlap other shapes.
(Inherited from ShapeBase.)
Public propertyCode exampleAlternativeText
Defines alternative text to be displayed instead of a graphic.
(Inherited from ShapeBase.)
Public propertyCode exampleAnchorLocked
Specifies whether the shape's anchor is locked.
(Inherited from ShapeBase.)
Public propertyCode exampleAspectRatioLocked
Specifies whether the shape's aspect ratio is locked.
(Inherited from ShapeBase.)
Public propertyCode exampleBehindText
Specifies whether the shape is below or above text.
(Inherited from ShapeBase.)
Public propertyCode exampleBottom
Gets the position of the bottom edge of the containing block of the shape.
(Inherited from ShapeBase.)
Public propertyCode exampleBounds
Gets or sets the location and size of the containing block of the shape.
(Inherited from ShapeBase.)
Public propertyCode exampleBoundsInPoints
Gets the location and size of the containing block of the shape in points, relative to the anchor of the topmost shape.
(Inherited from ShapeBase.)
Public propertyCode exampleBoundsWithEffects
Gets final extent that this shape object has after applying drawing effects. Value is measured in points.
(Inherited from ShapeBase.)
Public propertyCode exampleCanHaveImage
Returns true if the shape type allows the shape to have an image.
(Inherited from ShapeBase.)
Public propertyCode exampleChart
Provides access to the chart properties if this shape has a Chart.
Public propertyCode exampleChildNodes
Gets all immediate child nodes of this node.
(Inherited from CompositeNode.)
Public propertyCode exampleCoordOrigin
The coordinates at the top-left corner of the containing block of this shape.
(Inherited from ShapeBase.)
Public propertyCode exampleCoordSize
The width and height of the coordinate space inside the containing block of this shape.
(Inherited from ShapeBase.)
Public propertyCode exampleCount
Gets the number of immediate children of this node.
(Inherited from CompositeNode.)
Public propertyCode exampleDistanceBottom
Returns or sets the distance (in points) between the document text and the bottom edge of the shape.
(Inherited from ShapeBase.)
Public propertyCode exampleDistanceLeft
Returns or sets the distance (in points) between the document text and the left edge of the shape.
(Inherited from ShapeBase.)
Public propertyCode exampleDistanceRight
Returns or sets the distance (in points) between the document text and the right edge of the shape.
(Inherited from ShapeBase.)
Public propertyCode exampleDistanceTop
Returns or sets the distance (in points) between the document text and the top edge of the shape.
(Inherited from ShapeBase.)
Public propertyCode exampleDocument
Gets the document to which this node belongs.
(Inherited from Node.)
Public propertyCode exampleExtrusionEnabled
Returns true if an extrusion effect is enabled.
Public propertyCode exampleFill
Defines a fill for a shape.
Public propertyCode exampleFillColor
Defines the brush color that fills the closed path of the shape.
Public propertyCode exampleFilled
Determines whether the closed path of the shape will be filled.
Public propertyCode exampleFirstChild
Gets the first child of the node.
(Inherited from CompositeNode.)
Public propertyCode exampleFirstParagraph
Gets the first paragraph in the shape.
Public propertyCode exampleFlipOrientation
Switches the orientation of a shape.
(Inherited from ShapeBase.)
Public propertyCode exampleFont
Provides access to the font formatting of this object.
(Inherited from ShapeBase.)
Public propertyCode exampleHasChart
Returns true if this Shape has a Chart.
Public propertyCode exampleHasChildNodes
Returns true if this node has any child nodes.
(Inherited from CompositeNode.)
Public propertyCode exampleHasImage
Returns true if the shape has image bytes or links an image.
Public propertyCode exampleHasSmartArt
Returns true if this Shape has a SmartArt object.
Public propertyCode exampleHeight
Gets or sets the height of the containing block of the shape.
(Inherited from ShapeBase.)
Public propertyCode exampleHorizontalAlignment
Specifies how the shape is positioned horizontally.
(Inherited from ShapeBase.)
Public propertyHorizontalRuleFormat
Provides access to the properties of the horizontal rule shape. For a shape that is not a horizontal rule, returns null.
Public propertyCode exampleHRef
Gets or sets the full hyperlink address for a shape.
(Inherited from ShapeBase.)
Public propertyCode exampleImageData
Provides access to the image of the shape. Returns null if the shape cannot have an image.
Public propertyCode exampleIsComposite
Returns true as this node can have child nodes.
(Inherited from CompositeNode.)
Public propertyCode exampleIsDeleteRevision
Returns true if this object was deleted in Microsoft Word while change tracking was enabled.
(Inherited from ShapeBase.)
Public propertyCode exampleIsGroup
Returns true if this is a group shape.
(Inherited from ShapeBase.)
Public propertyCode exampleIsHorizontalRule
Returns true if this shape is a horizontal rule.
(Inherited from ShapeBase.)
Public propertyCode exampleIsImage
Returns true if this shape is an image shape.
(Inherited from ShapeBase.)
Public propertyCode exampleIsInline
A quick way to determine if this shape is positioned inline with text.
(Inherited from ShapeBase.)
Public propertyCode exampleIsInsertRevision
Returns true if this object was inserted in Microsoft Word while change tracking was enabled.
(Inherited from ShapeBase.)
Public propertyCode exampleIsLayoutInCell
Gets or sets a flag indicating whether the shape is displayed inside a table or outside of it.
(Inherited from ShapeBase.)
Public propertyCode exampleIsMoveFromRevision
Returns true if this object was moved (deleted) in Microsoft Word while change tracking was enabled.
(Inherited from ShapeBase.)
Public propertyCode exampleIsMoveToRevision
Returns true if this object was moved (inserted) in Microsoft Word while change tracking was enabled.
(Inherited from ShapeBase.)
Public propertyCode exampleIsSignatureLine
Indicates that shape is a SignatureLine.
(Inherited from ShapeBase.)
Public propertyCode exampleIsTopLevel
Returns true if this shape is not a child of a group shape.
(Inherited from ShapeBase.)
Public propertyCode exampleIsWordArt
Returns true if this shape is a WordArt object.
(Inherited from ShapeBase.)
Public propertyCode exampleLastChild
Gets the last child of the node.
(Inherited from CompositeNode.)
Public propertyCode exampleLastParagraph
Gets the last paragraph in the shape.
Public propertyCode exampleLeft
Gets or sets the position of the left edge of the containing block of the shape.
(Inherited from ShapeBase.)
Public propertyCode exampleMarkupLanguage
Gets MarkupLanguage used for this graphic object.
(Inherited from ShapeBase.)
Public propertyCode exampleName
Gets or sets the optional shape name.
(Inherited from ShapeBase.)
Public propertyCode exampleNextSibling
Gets the node immediately following this node.
(Inherited from Node.)
Public propertyCode exampleNodeType
Returns Shape.
(Overrides NodeNodeType.)
Public propertyCode exampleOleFormat
Provides access to the OLE data of a shape. For a shape that is not an OLE object or ActiveX control, returns null.
Public propertyCode exampleParentNode
Gets the immediate parent of this node.
(Inherited from Node.)
Public propertyCode exampleParentParagraph
Returns the immediate parent paragraph.
(Inherited from ShapeBase.)
Public propertyCode examplePreviousSibling
Gets the node immediately preceding this node.
(Inherited from Node.)
Public propertyCode exampleRange
Returns a Range object that represents the portion of a document that is contained in this node.
(Inherited from Node.)
Public propertyCode exampleRelativeHorizontalPosition
Specifies relative to what the shape is positioned horizontally.
(Inherited from ShapeBase.)
Public propertyCode exampleRelativeVerticalPosition
Specifies relative to what the shape is positioned vertically.
(Inherited from ShapeBase.)
Public propertyCode exampleRight
Gets the position of the right edge of the containing block of the shape.
(Inherited from ShapeBase.)
Public propertyCode exampleRotation
Defines the angle (in degrees) that a shape is rotated. Positive value corresponds to clockwise rotation angle.
(Inherited from ShapeBase.)
Public propertyCode exampleScreenTip
Defines the text displayed when the mouse pointer moves over the shape.
(Inherited from ShapeBase.)
Public propertyCode exampleShadowEnabled
Returns true if a shadow effect is enabled.
Public propertyCode exampleShapeType
Gets the shape type.
(Inherited from ShapeBase.)
Public propertyCode exampleSignatureLine
Gets SignatureLine object if the shape is a signature line. Returns null otherwise.
Public propertyCode exampleSizeInPoints
Gets the size of the shape in points.
(Inherited from ShapeBase.)
Public propertyCode exampleStoryType
Returns Textbox.
Public propertyCode exampleStroke
Defines a stroke for a shape.
Public propertyCode exampleStrokeColor
Defines the color of a stroke.
Public propertyCode exampleStroked
Defines whether the path will be stroked.
Public propertyCode exampleStrokeWeight
Defines the brush thickness that strokes the path of a shape in points.
Public propertyCode exampleTarget
Gets or sets the target frame for the shape hyperlink.
(Inherited from ShapeBase.)
Public propertyCode exampleTextBox
Defines attributes that specify how text is displayed in a shape.
Public propertyCode exampleTextPath
Defines the text of the text path (of a WordArt object).
Public propertyCode exampleTitle
Gets or sets the title (caption) of the current shape object.
(Inherited from ShapeBase.)
Public propertyCode exampleTop
Gets or sets the position of the top edge of the containing block of the shape.
(Inherited from ShapeBase.)
Public propertyCode exampleVerticalAlignment
Specifies how the shape is positioned vertically.
(Inherited from ShapeBase.)
Public propertyCode exampleWidth
Gets or sets the width of the containing block of the shape.
(Inherited from ShapeBase.)
Public propertyCode exampleWrapSide
Specifies how the text is wrapped around the shape.
(Inherited from ShapeBase.)
Public propertyCode exampleWrapType
Defines whether the shape is inline or floating. For floating shapes defines the wrapping mode for text around the shape.
(Inherited from ShapeBase.)
Public propertyCode exampleZOrder
Determines the display order of overlapping shapes.
(Inherited from ShapeBase.)
See Also