PolylineAnnotation.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 PolyLineAnnotationTests;
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 PolylineAnnotation 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::PolyLineAnnotationTests;
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 
85 
86 protected:
87 
88  ASPOSE_PDF_SHARED_API void WriteXfdf(System::SharedPtr<System::Xml::XmlWriter> writer) override;
89 
96 
97  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(PolylineAnnotation, CODEPORTING_ARGS(System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfObject> engineAnnot, System::SharedPtr<Document> document));
98 
99  virtual ASPOSE_PDF_SHARED_API ~PolylineAnnotation();
100 
101 };
102 
103 } // namespace Annotations
104 } // namespace Pdf
105 } // namespace Aspose
106 
107 
Abstract base class for poly- annotations.
Definition: PolyAnnotation.h:65
Definition: Artifact.h:67
Definition: signed_info.h:13
Represents polyline annotation that is similar to polygon, except that the first and last vertex are ...
Definition: PolylineAnnotation.h:54
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.