PolygonAnnotation.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include "Aspose.PDF.Cpp/InteractiveFeatures/Annotations/PolyAnnotation.h"
5 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
6 
7 namespace Aspose
8 {
9 namespace Pdf
10 {
11 namespace Annotations
12 {
13 class Annotation;
14 class AnnotationSelector;
15 enum class AnnotationType;
16 } // namespace Annotations
17 class Document;
18 namespace Engine
19 {
20 namespace Data
21 {
22 class IPdfObject;
23 } // namespace Data
24 } // namespace Engine
25 class Page;
26 class Point;
27 class Rectangle;
28 namespace Tests
29 {
30 namespace Annotations
31 {
32 class PolygonAnnotationTests;
33 } // namespace Annotations
34 } // namespace Tests
35 } // namespace Pdf
36 } // namespace Aspose
37 namespace System
38 {
39 namespace Xml
40 {
41 class XmlWriter;
42 } // namespace Xml
43 } // namespace System
44 
45 namespace Aspose {
46 
47 namespace Pdf {
48 
49 namespace Annotations {
50 
54 class ASPOSE_PDF_SHARED_CLASS PolygonAnnotation final : public Aspose::Pdf::Annotations::PolyAnnotation
55 {
58 
59  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
60  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
61 
63  friend class Aspose::Pdf::Tests::Annotations::PolygonAnnotationTests;
64 
65 public:
66 
70  ASPOSE_PDF_SHARED_API Aspose::Pdf::Annotations::AnnotationType get_AnnotationType() override;
71 
76  ASPOSE_PDF_SHARED_API void Accept(System::SharedPtr<AnnotationSelector> visitor) override;
77 
91 
92 protected:
93 
94  ASPOSE_PDF_SHARED_API void WriteXfdf(System::SharedPtr<System::Xml::XmlWriter> writer) override;
95 
102 
103  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(PolygonAnnotation, CODEPORTING_ARGS(System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfObject> engineAnnot, System::SharedPtr<Document> document));
104 
105  virtual ASPOSE_PDF_SHARED_API ~PolygonAnnotation();
106 
107 };
108 
109 } // namespace Annotations
110 } // namespace Pdf
111 } // namespace Aspose
112 
113 
Abstract base class for poly- annotations.
Definition: PolyAnnotation.h:65
Definition: Artifact.h:67
Class representing polygon annotation.
Definition: PolygonAnnotation.h:54
Definition: signed_info.h:13
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
means saving in XML format
AnnotationType
Enumeration of annotation types.
Definition: AnnotationType.h:18
Definition: AFRelationship.h:4
Defies a method that enables object cloning - creating a copy of an object. Objects of this class sho...
Definition: icloneable.h:15
A printer&#39;s point (1/72 of an inch).
The coordinates are in the page coordinate context.
Class representing annotation object.
Definition: Annotation.h:303
Represents a abstract base object can be added to the page(doc.Paragraphs.Add()). ...
Definition: BaseParagraph.h:66
Whole PDF file will be submitted.