Click or drag to resize

Shape Class

Represents a drawing that has a specific shape / geometry and, potentially, a text content.
Inheritance Hierarchy

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1032 (21.3.35.1032)
Syntax
public sealed class Shape : GeometryShape

The Shape type exposes the following members.

Properties
  NameDescription
Public propertyAction

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 .

(Inherited from VisualDrawing.)
Public propertyAlternativeText

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 .

(Inherited from VisualDrawing.)
Public propertyDrawingType
Gets the Shape value.
(Overrides DrawingDrawingType.)
Public propertyFormat
Gets or sets the shape's formatting options.
(Inherited from VisualShape.)
Public propertyGeometry
Gets or sets the shape's geometry that contains additional information about the ShapeType.
(Inherited from GeometryShape.)
Public propertyHidden

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 .

(Inherited from VisualDrawing.)
Public propertyLayout
Gets or sets the location, size and transformations (flipping and rotation) of the bounding box enclosing this drawing.
(Inherited from VisualDrawing.)
Public propertyLocks

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.)
Public propertyName
Gets or sets the name of this drawing.
(Inherited from VisualDrawing.)
Public propertyParent
Gets the parent group or if drawing is not grouped.
(Inherited from Drawing.)
Public propertyPlaceholder
Gets the placeholder settings for this drawing if the drawing is a placeholder; otherwise, .
(Inherited from VisualDrawing.)
Public propertyShapeType
Gets or sets the type of the shape (geometry).
(Inherited from GeometryShape.)
Public propertySlide
Gets the slide associated with this drawing.
(Inherited from Drawing.)
Public propertyText
Gets the text content and formatting associated with this Shape.
Top
Methods
  NameDescription
Public methodBringForward
Brings this drawing forward so that it is hidden by fewer drawings that are in front of it.
(Inherited from Drawing.)
Public methodBringForward(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.)
Public methodBringToFront
Brings this drawing in front of all other drawings so that no part of it is hidden behind another drawing.
(Inherited from Drawing.)
Public methodFormatDrawing
Formats this VisualDrawing to its default size so it can be exported to PDF, XPS, image or be printed.
(Inherited from VisualDrawing.)
Public methodFormatDrawing(Double, Double, LengthUnit)
Formats this VisualDrawing to specified size so it can be exported to PDF, XPS, image or be printed.
(Inherited from VisualDrawing.)
Public methodSendBackward
Sends this drawing backward so that it is hidden by more drawings that are in front of it.
(Inherited from Drawing.)
Public methodSendBackward(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.)
Public methodSendToBack
Sends this drawing behind all other drawings.
(Inherited from Drawing.)
Public methodToString
Returns a String that represents this GeometryShape instance.
(Inherited from GeometryShape.)
Top
See Also