Shape Class
Represents a drawing that has a specific shape / geometry and, potentially, a text content.
public sealed class Shape : GeometryShape
Public NotInheritable Class Shape
Inherits GeometryShape
- Inheritance:
- System.ObjectShape
Properties
DrawingType
Gets the Shape value.
public override DrawingType DrawingType { get; }
Public Overrides ReadOnly Property DrawingType As DrawingType
Property Value
The Shape value.
Overrides
Text
Gets the text content and formatting associated with this Shape.
Property Value
Inherited Properties
Action | Gets or sets the action settings for this drawing that specify what should happen when the user clicks on this drawing or hovers over this drawing with a pointing device such as a computer mouse. To remove all actions from this drawing, set this property to null. (Inherited from VisualDrawing) |
AlternativeText | Gets or sets the alternative, text-based representation of the information contained in this drawing. To remove an alternative, text-based representation from this drawing, set this property to null. (Inherited from VisualDrawing) |
CustomerData | Gets or sets the customer defined data. (Inherited from VisualDrawing) |
Format | Gets or sets the shape's formatting options. (Inherited from VisualShape) |
Geometry | Gets or sets the shape's geometry that contains additional information about the ShapeType. (Inherited from GeometryShape) |
Hidden | Gets or sets a value indicating whether this drawing is hidden. Drawing is automatically hidden if any of its ancestor GroupShape is hidden. Default value is false. (Inherited from VisualDrawing) |
Layout | Gets or sets the location, size and transformations (flipping and rotation) of the bounding box enclosing this drawing. (Inherited from VisualDrawing) |
Locks | Gets or sets the locking settings for this drawing. These settings inform the application about specific drawing properties that have been previously locked and thus should not be changed by the user when viewing a drawing in an application. Default value is None. (Inherited from VisualDrawing) |
Name | Gets or sets the name of this drawing. (Inherited from VisualDrawing) |
Parent | Gets the parent group or null if drawing is not grouped. (Inherited from Drawing) |
Placeholder | Gets the placeholder settings for this drawing if the drawing is a placeholder; otherwise, null. (Inherited from VisualDrawing) |
ShapeType | Gets or sets the type of the shape (geometry). (Inherited from GeometryShape) |
Slide | Gets the slide associated with this drawing. (Inherited from Drawing) |
TextContent | Gets the text content of the current Drawing. (Inherited from Drawing) |
Inherited Methods
BringForward() | Brings this drawing forward so that it is hidden by fewer drawings that are in front of it. (Inherited from Drawing) |
BringForward(Drawing) | Brings this drawing forward so that is not hidden by the specified drawing and all other drawings behind the specified drawing. (Inherited from Drawing) |
BringToFront() | Brings this drawing in front of all other drawings so that no part of it is hidden behind another drawing. (Inherited from Drawing) |
FormatDrawing() | Formats this VisualDrawing to its default size so it can be exported to PDF, XPS, image, or be printed. (Inherited from VisualDrawing) |
FormatDrawing(System.Double, System.Double, LengthUnit) | Formats this VisualDrawing to specified size so it can be exported to PDF, XPS, image, or be printed. (Inherited from VisualDrawing) |
FormatDrawing(System.Double, System.Double, LengthUnit, PaginatorOptions) | Formats this VisualDrawing to specified size so it can be exported to PDF, XPS, image, or be printed. (Inherited from VisualDrawing) |
FormatDrawing(PaginatorOptions) | Formats this VisualDrawing to its default size so it can be exported to PDF, XPS, image, or be printed. (Inherited from VisualDrawing) |
SendBackward() | Sends this drawing backward so that it is hidden by more drawings that are in front of it. (Inherited from Drawing) |
SendBackward(Drawing) | Sends this drawing backward so that is hidden by the specified drawing and all other drawings in front of the specified drawing. (Inherited from Drawing) |
SendToBack() | Sends this drawing behind all other drawings. (Inherited from Drawing) |
ToString() | Returns a System.String that represents this GeometryShape instance. (Inherited from GeometryShape) |