StampInfo.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/object.h>
5 #include <cstdint>
6 
7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8 
9 namespace Aspose
10 {
11 namespace Pdf
12 {
13 namespace Facades
14 {
15 class PdfContentEditor;
16 enum class StampType;
17 } // namespace Facades
18 class Rectangle;
19 class XForm;
20 } // namespace Pdf
21 } // namespace Aspose
22 namespace System
23 {
24 namespace Drawing
25 {
26 class Image;
27 } // namespace Drawing
28 class String;
29 } // namespace System
30 
31 namespace Aspose {
32 
33 namespace Pdf {
34 
35 namespace Facades {
36 
40 class ASPOSE_PDF_SHARED_CLASS StampInfo final : public System::Object
41 {
42  typedef StampInfo ThisType;
43  typedef System::Object BaseType;
44 
45  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
46  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
47 
49 
50 public:
51 
55  ASPOSE_PDF_SHARED_API int32_t get_StampId() const;
59  ASPOSE_PDF_SHARED_API int32_t get_IndexOnPage() const;
63  ASPOSE_PDF_SHARED_API Aspose::Pdf::Facades::StampType get_StampType() const;
67  ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Rectangle> get_Rectangle() const;
70  ASPOSE_PDF_SHARED_API System::SharedPtr<System::Drawing::Image> get_Image() const;
74  ASPOSE_PDF_SHARED_API System::SharedPtr<XForm> get_Form() const;
78  ASPOSE_PDF_SHARED_API System::String get_Text();
82  ASPOSE_PDF_SHARED_API bool get_Visible() const;
83 
84 protected:
85 
93 
94  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(StampInfo, CODEPORTING_ARGS(int32_t stampId, Aspose::Pdf::Facades::StampType stampType, int32_t index, System::SharedPtr<Aspose::Pdf::Rectangle> rect, System::SharedPtr<System::Drawing::Image> image, bool visible));
95 
96  StampInfo(int32_t stampId, Aspose::Pdf::Facades::StampType stampType, int32_t index, System::SharedPtr<Aspose::Pdf::Rectangle> rect, System::SharedPtr<XForm> form, bool visible);
97 
98  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(StampInfo, CODEPORTING_ARGS(int32_t stampId, Aspose::Pdf::Facades::StampType stampType, int32_t index, System::SharedPtr<Aspose::Pdf::Rectangle> rect, System::SharedPtr<XForm> form, bool visible));
99 
100 private:
101 
102  int32_t _stampId;
103  int32_t _indexOnPage;
108  bool _visible;
109 
110 };
111 
112 } // namespace Facades
113 } // namespace Pdf
114 } // namespace Aspose
115 
116 
StampType
Describes stamp types.
Definition: StampType.h:13
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Definition: Artifact.h:67
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
Definition: AFRelationship.h:4
Represents a class to edit PDF file&#39;s content.
Definition: PdfContentEditor.h:89
Class representing stamp information.
Definition: StampInfo.h:40
Whole PDF file will be submitted.