setCompatibilityMode

setCompatibilityMode

TRIAL / ADVANCED / PREMIUM

Sets the compatibility mode value of the Word document.

Description
public setCompatibilityMode ( string $value )

This method allows to set the compatibility mode value of the Word document.

Parameters

value

Compatibility mode value: "15", "14"...

Code samples

Example #1

Release notes
  • phpdocx 18.0:
    • new method.