importChartStyle

importChartStyle

PREMIUM TRIAL / ADVANCED

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.

Exceptions

Method not available.

Error opening the file.

Code samples

Example #1