Close
Relief for ODA Team in Ukraine
Learn more
ODA IFC SDK
API Reference
>
ZipUtils Namespace
>
Functions
>
ZipUtils::zipToFile Function
ZipUtils::zipToFile Function
Syntax
C++
OdResult
zipToFile
(
const
OdString &
targetFile
,
const
OdString &
filesDir
,
bool
overwriteTargetFile
=
true
);
Description
Zips directory to file.
Parameters
Parameters
Description
targetFile
[in] A string containing path to the target zip file.
filesDir
[in] A string containing name of the source directory.
overwriteTargetFile
[in] Return error if false and target file exists; otherwise, overwrite target file.
Returns
Returns appropriate error code.
File:
ZipUtils.h
Namespace:
ZipUtils
Was this documentation helpful?
We are sorry. Please tell us what we can improve.
*
Great! Please provide additional feedback.
(Optional)
Thank you for your feedback!
Please wait...
Something went wrong!