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-2020 by PDFTron Systems 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 
47  // @cond PRIVATE_DOC
48  #ifndef SWIGHIDDEN
49  Watermark(TRN_Annot watermark);
50  #endif
51  // @endcond
52 
53 }; //class Watermark
54  }; //namespace Annot
55  }; //namespace PDF
56 }; //namespace pdftron
57 #include <Impl/Page.inl>
58 
59 #endif // PDFTRON_H_CPPPDFAnnotsWatermark
SDF::Obj GetSDFObj() const
static Watermark Create(SDF::SDFDoc &doc, const Rect &pos)
Watermark(const Annot &ann)
Definition: Watermark.h:35