- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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-2025 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
pdftron::PDF::Annot::GetSDFObj
SDF::Obj GetSDFObj() const
pdftron::PDF::Annots::Watermark::Create
static Watermark Create(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Watermark::CreateAnnot
static Watermark CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Watermark
Definition: Watermark.h:17
pdftron::PDF::Rect
Definition: Rect.h:28
pdftron::SDF::SDFDoc
Definition: SDFDoc.h:67
pdftron::PDF::Annots::Watermark::Watermark
Watermark(const Annot &ann)
Definition: Watermark.h:35
pdftron::PDF::Annots::Watermark::Watermark
Watermark(SDF::Obj d=0)
pdftron::PDF::Annot
Definition: Annot.h:33
pdftron::SDF::Obj
Definition: Obj.h:40
Annot.h