Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdPage::addWatermark Method
Syntax
C++
void addWatermark(const OdWatermarkPtr& watermark, const OdRect& location);

Adds a watermark label to the page. 

 

Parameters
Description
watermark
[in] A smart pointer to a watermark object that should be added.
location
[in] A rectangle that specifies the location of the watermark object within the page. It determines where the watermark text is placed on the page.

The inserted watermark object is scaled to the location rectangle size.

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