Table of Contents

Class ChartRef

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

A chart drawing in the document body (a w:drawing whose graphic data is a chart reference).

public sealed class ChartRef : RunContentInline
Inheritance
ChartRef
Inherited Members
Extension Methods

Remarks

Carries the same container geometry a ShapeRef does, because a chart is anchored, wrapped and z-ordered by exactly the same machinery. What it adds is Chart, the parsed cached-value model the layout stage turns into a shape tree.

Constructors

ChartRef()

Properties

Anchor

Gets or sets the anchoring data for floating drawings, or null for inline drawings.

Chart

Gets or sets the parsed chart, or null when the part could not be read.

Description

Gets or sets the alternative text (wp:docPr descr), or null.

DrawingId

Gets or sets the drawing object id (wp:docPr id), or null.

Height

Gets or sets the display height (wp:extent cy).

Name

Gets or sets the drawing object name (wp:docPr name), or null.

PartUri

Gets or sets the source part URI of the chart part, or null.

Placement

Gets or sets how the drawing participates in text flow.

RelationshipId

Gets or sets the relationship id of the chart part (c:chart r:id), or null.

Width

Gets or sets the display width (wp:extent cx).

Methods

Accept(DomVisitor)

Dispatches to the visitor method for this node's concrete type.

CloneCore()

Creates the deep copy for Clone(). Implementations copy all owned state, deep-clone children and copy unknown-XML islands.