[]
Represents a shape element in a body content.
public class Shape : ShapeBase, IBrowsable<Shape>
Public Class Shape
Inherits ShapeBase
Implements IBrowsable(Of Shape)
Name | Description |
---|---|
Effects | Gets the shape effects formatting properties. |
Fill | Gets the fill formatting properties. |
GeometryType | Gets or sets the geometry type of this shape. |
Line | Gets the line formatting properties. |
LinkedTextFrame | Gets the first linked text frame that participates in a text frame story. |
Next | Gets the next shape. |
Previous | Gets the previous shape. |
Style | Gets the style information for this shape. |
TextFrame | Gets the text content of this shape. |
Name | Description |
---|---|
AddLinkedTextFrame(TextFrame) | Adds a linked text frame that participates in a text frame story. Note that some geometries do not allow text frames (see TextFrameSupported(GeometryType)). If GeometryType of this shape does not support text frames, an exception will be thrown. |
AddLinkedTextFrame(TextFrame, int) | Adds a linked text frame that participates in a text frame story. Note that some geometries do not allow text frames (see TextFrameSupported(GeometryType)). If GeometryType of this shape does not support text frames, an exception will be thrown. |
AddTextFrame(string, Style) | Adds a text frame to this shape. Note that some geometries do not allow text frames (see TextFrameSupported(GeometryType)). If GeometryType of this shape does not support text frames, an exception will be thrown. |
ApplyEffectsPreset(ShapeEffectsPreset) | |
ApplyPreset(LineShapePreset) | Applies a predefined outline (LineShapePreset) to this shape. Note that LineShapePresets can only be applied to line geometries (see IsLineGeometry(GeometryType)). If GeometryType of this shape is not a line geometry, this method will do nothing and return false. For non-line geometries use ApplyPreset(ShapePreset) instead. |
ApplyPreset(ShapePreset) | Applies a predefined fill and outline (ShapePreset) to this shape. Note that ShapePresets cannot be applied to line geometries (see IsLineGeometry(GeometryType)). If GeometryType of this shape is a line geometry, this method will do nothing and return false. For line geometries use ApplyPreset(LineShapePreset) instead. |
ApplyThemedStyle(ThemedLineStyle) | Applies a predefined ThemedLineStyle to this shape. Note that ThemedLineStyles cannot be applied to non-line geometries (see IsLineGeometry(GeometryType)). If GeometryType of this shape is not a line geometry, this method will do nothing and return false. For line geometries use ApplyThemedStyle(ThemedShapeStyle) instead. |
ApplyThemedStyle(ThemedShapeStyle) | Applies a predefined ThemedShapeStyle to this shape. Note that ThemedShapeStyles cannot be applied to line geometries (see IsLineGeometry(GeometryType)). If GeometryType of this shape is a line geometry, this method will do nothing and return false. For line geometries use ApplyThemedStyle(ThemedLineStyle) instead. |