Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
Watermark Structure
Syntax
C++
struct Watermark { enum WatermarkFonts { kTimesRoman, kHelvetica, kCourier, kSymbol, kTimesBold, kHelveticaBold, kCourierBold, kZapfDingbats, kTimesItalic, kHelveticaOblique, kCourierOblique, kTimesBoldItalic, kHelveticaBoldOblique, kCourierBoldOblique, kSystemTTFFont = -1 }; enum WatermarkPosition { kLeftToRight, kUpperLeftToLowerRight, kLowerLeftToUpperRight, kUpperLeft, kUpperRight, kLowerRight, kLowerLeft, kUpperMiddle, kLowerMiddle, kLeftMiddle, kRightMiddle }; OdString text; ODCOLORREF color; OdUInt16 fontSize; OdUInt16 opacity; WatermarkFonts font; WatermarkPosition position; bool scaleToPage; OdGePoint2d offset; double rotation; int pageIndex; OdString fontName; OdString imagePath; OdUInt16 imageWidth; OdUInt16 imageHeight; };

A set of parameters for adding a watermark annotation to the output PDF file.

File: PdfExportParams.h 

Namespace: TD_PDF_2D_EXPORT 

Module: API Reference 

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