All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Watermark.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2024 by Apryse Software Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 #ifndef PDFTRON_H_CPPPDFAnnotsWatermark
6 #define PDFTRON_H_CPPPDFAnnotsWatermark
7 
8 #include <PDF/Annot.h>
9 
10 namespace pdftron {
11  namespace PDF {
12  namespace Annots {
17 class Watermark : public Annot
18 {
19  public:
20 
27  Watermark(SDF::Obj d = 0);
28 
35  Watermark(const Annot& ann) : Annot(ann.GetSDFObj()) {}
36 
45  static Watermark Create(SDF::SDFDoc& doc, const Rect& pos);
46  static Watermark CreateAnnot(SDF::SDFDoc& doc, const Rect& pos);
47 
48  // @cond PRIVATE_DOC
49  #ifndef SWIGHIDDEN
50  Watermark(TRN_Annot watermark);
51  #endif
52  // @endcond
53 
54 }; //class Watermark
55  }; //namespace Annot
56  }; //namespace PDF
57 }; //namespace pdftron
58 #include <Impl/Page.inl>
59 
60 #endif // PDFTRON_H_CPPPDFAnnotsWatermark
SDF::Obj GetSDFObj() const
static Watermark Create(SDF::SDFDoc &doc, const Rect &pos)
static Watermark CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
Watermark(const Annot &ann)
Definition: Watermark.h:35