Table of Contents

Class ChartEditingExtensions

Namespace
DocWright.Word.Editing
Assembly
DocWright.Word.dll

Charts in a document inserted, changed and removed (Phase 221). A new chart is a chart part written as Word writes one, its values in the part's caches; an edit rewrites only the elements it owns in the part, every other character kept, and the chart's drawing model (Chart) is changed with it.

public static class ChartEditingExtensions
Inheritance
ChartEditingExtensions
Inherited Members

Fields

MaxPoints

The most points a series takes (Excel's limit for a series of a 2-D chart).

MaxSeries

The most series a chart takes (Excel's limit for a chart).

Methods

EditChart(WordDocument, ChartRef, IConversionDiagnostics?)

Opens a chart for changes: each change is an edit of its own, undone as one.

InsertChart(WordDocument, DocumentPosition, ChartKind, ChartData, Emu, Emu, ChartInsertOptions?)

Inserts an inline chart at a position, splitting a text run there: a chart part with the values in its caches, and, when Workbook is given, the workbook embedded as its data.

RemoveChart(WordDocument, ChartRef)

Removes a chart: its drawing, its relationship, its part and what only the part used (its embedded workbook, its style and colour parts).