Loading...
Searching...
No Matches
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
Annot.h
pdftron::PDF::Annot::Annot
Annot(SDF::Obj d=0)
pdftron::PDF::Annot::GetSDFObj
SDF::Obj GetSDFObj() const
pdftron::PDF::Annots::Watermark::Watermark
Watermark(SDF::Obj d=0)
pdftron::PDF::Annots::Watermark::Create
static Watermark Create(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Watermark::Watermark
Watermark(const Annot &ann)
Definition Watermark.h:35
pdftron::PDF::Annots::Watermark::CreateAnnot
static Watermark CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Rect
Definition Rect.h:29
pdftron::SDF::Obj
Definition Obj.h:41
pdftron::SDF::SDFDoc
Definition SDFDoc.h:68
pdftron::PDF::Annots
Definition Caret.h:12
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10