importChartStyle

importChartStyle

PREMIUM ADVANCED / BASIC

Imports an existing chart style (colors and style XML files) from an existing docx document.

Description
public importChartStyle ( string $path, string $position, string $name )
Parameters

path

The path to the Word document from which you want to import the chart styles.

position

Chart position in the DOCX.

name

New name of the style.

Code samples

Example #1