ScreenAnnotation.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include "Aspose.PDF.Cpp/InteractiveFeatures/Annotations/Annotation.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 AnnotationSelector;
14 enum class AnnotationType;
15 class PdfAction;
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 Rectangle;
27 } // namespace Pdf
28 } // namespace Aspose
29 namespace System
30 {
31 class String;
32 } // namespace System
33 
34 namespace Aspose {
35 
36 namespace Pdf {
37 
38 namespace Annotations {
39 
44 {
45  typedef ScreenAnnotation ThisType;
48 
49  typedef ::System::BaseTypesInfo<BaseType, BaseType1> ThisTypeBaseTypesInfo;
50  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
51 
53 
54 public:
55 
59  ASPOSE_PDF_SHARED_API System::String get_Title() override;
63  ASPOSE_PDF_SHARED_API void set_Title(System::String value) override;
67  ASPOSE_PDF_SHARED_API System::SharedPtr<PdfAction> get_Action();
71  ASPOSE_PDF_SHARED_API Aspose::Pdf::Annotations::AnnotationType get_AnnotationType() override;
72 
80 
85  ASPOSE_PDF_SHARED_API void Accept(System::SharedPtr<AnnotationSelector> visitor) override;
86 
87 protected:
88 
90 
91  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(ScreenAnnotation, CODEPORTING_ARGS(System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfObject> engineAnnot, System::SharedPtr<Document> document));
92 
93  virtual ASPOSE_PDF_SHARED_API ~ScreenAnnotation();
94 
95 private:
96 
100  ASPOSE_PDF_SHARED_API void set_Action(System::SharedPtr<PdfAction> value);
101 
102 };
103 
104 } // namespace Annotations
105 } // namespace Pdf
106 } // namespace Aspose
107 
108 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Definition: Artifact.h:67
This annotation allows to get/set Title property.
Definition: Annotation.h:512
virtual ASPOSE_PDF_SHARED_API Aspose::Pdf::Annotations::AnnotationType get_AnnotationType()=0
Gets type of annotation.
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
AnnotationType
Enumeration of annotation types.
Definition: AnnotationType.h:18
Definition: AFRelationship.h:4
A screen annotation that specifies a region of a page upon which media clips may be played...
Definition: ScreenAnnotation.h:43
Defies a method that enables object cloning - creating a copy of an object. Objects of this class sho...
Definition: icloneable.h:15
The coordinates are in the page coordinate context.
virtual ASPOSE_PDF_SHARED_API void Accept(System::SharedPtr< AnnotationSelector > visitor)=0
Accepts visitor for annotation processing.
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.