ReplacePart Method

Replaces the contents of the specified part in the package.

Object Oriented Interface

public function doReplacePart();

Procedural Interface

ipworkszip_officedoc_do_replacepart($res);

Remarks

If the part specified by the PartName property exists, the corresponding physical file will be replaced with the contents of the PartData property. The package file will be modified in place right away.

If the part doesn't exists, it's stored in interleaved format, or PartData is null or empty, an error will be raised.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 PHP Edition - Version 20.0 [Build 8300]