Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdDocument::addAttachment Method
Syntax
C++
void addAttachment(const OdString& file_name, const OdString& description);

Adds a new attachment file to the ODA Publish document. 

 

Parameters
Description
file_name
[in] A string that contains the name of the file to be attached.
description
[in] A string that contains the description of the file to be attached.

If there is an existing attachment on the document with the given filename, it will get overwritten.

Copyright © 2002-2022. Open Design Alliance All rights reserved.