Table of Contents

Class ShapeNode

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

One node of a drawing's shape tree. Deliberately not a DomNode: shape geometry is presentation, not editable document content, so it stays out of the visitor and parent/child machinery. Text inside a shape is document content and lives in TextBody, which the owning ShapeRef surfaces through Children.

public abstract class ShapeNode
Inheritance
ShapeNode
Derived
Inherited Members

Constructors

ShapeNode()

Properties

Hidden

Gets or sets whether the shape is hidden (cNvPr hidden).

Id

Gets or sets the shape id (cNvPr id), or null.

Name

Gets or sets the shape name (cNvPr name), or null.

Transform

Gets or sets the placement of this node in its parent's space, or null.

Methods

CloneShape()

Creates a deep copy of this node and its descendants.

CopyShapeStateTo(ShapeNode)

Copies the members declared on ShapeNode onto a clone.