Table of Contents

Class Shape

Namespace
MigraDoc.DocumentObjectModel.Shapes
Assembly
MigraDoc.DocumentObjectModel.dll

Base Class for all positionable Classes.

public abstract class Shape : DocumentObject
Inheritance
object
Shape
Derived
Inherited Members
Extension Methods

Constructors

Shape()

Initializes a new instance of the Shape class.

Properties

AlternativeText

Gets or sets the alternative text of a picture (image or chart): a short description of what it shows, read by screen readers. A tagged PDF (PdfDocumentRenderer.TaggedPdf) requires it for every picture that is not decorative. Text frames carry their meaning in their text and do not use it.

Decorative

Gets or sets whether the shape is decoration only. In a tagged PDF a decorative picture is an artifact, which screen readers skip, and needs no alternative text.

FillFormat

Gets the background filling format of the shape.

Height

Gets or sets the height of the shape.

Left

Gets or sets the position of the left side of the shape.

LineFormat

Gets the line format of the shape’s border.

RelativeHorizontal

Gets or sets the reference point of the Left property.

RelativeVertical

Gets or sets the reference point of the Top property.

Top

Gets or sets the position of the top side of the shape.

Values

Let the derived class create the Values.

Width

Gets or sets the width of the shape.

WrapFormat

Gets or sets the wrapping format of the shape.

Methods

Clone()

Creates a deep copy of this object.

DeepCopy()

Implements the deep copy of the object.