FitHExplicitDestination.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/string.h>
5 #include <cstdint>
6 
7 #include "Aspose.PDF.Cpp/InteractiveFeatures/ExplicitDestination.h"
8 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
9 
10 namespace Aspose
11 {
12 namespace Pdf
13 {
14 class Document;
15 namespace Engine
16 {
17 namespace Data
18 {
19 class IPdfArray;
20 } // namespace Data
21 } // namespace Engine
22 class Page;
23 } // namespace Pdf
24 } // namespace Aspose
25 
26 namespace Aspose {
27 
28 namespace Pdf {
29 
30 namespace Annotations {
31 
35 class ASPOSE_PDF_SHARED_CLASS FitHExplicitDestination final : public Aspose::Pdf::Annotations::ExplicitDestination
36 {
39 
40  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
41  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
42 
44 
45 public:
46 
50  ASPOSE_PDF_SHARED_API double get_Top();
51 
57  ASPOSE_PDF_SHARED_API FitHExplicitDestination(System::SharedPtr<Aspose::Pdf::Page> page, double top);
65  ASPOSE_PDF_SHARED_API FitHExplicitDestination(System::SharedPtr<Document> document, int32_t pageNumber, double top);
71  ASPOSE_PDF_SHARED_API FitHExplicitDestination(int32_t pageNumber, double top);
72 
77  ASPOSE_PDF_SHARED_API System::String ToString() const override;
78 
79 protected:
80 
86 
87  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(FitHExplicitDestination, CODEPORTING_ARGS(System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfArray> engineDest));
88 
89 private:
90 
91  System::String ToString_NonConst();
92 
93 };
94 
95 } // namespace Annotations
96 } // namespace Pdf
97 } // namespace Aspose
98 
99 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Represents explicit destination that displays the page with the vertical coordinate top positioned at...
Definition: FitHExplicitDestination.h:35
Represents general interface for actions and destinations.
Definition: IAppointment.h:17
Represents the base class for explicit destinations in PDF document.
Definition: ExplicitDestination.h:64
ASPOSE_PDF_SHARED_API System::String ToString() const override=0
Returns string representation of ExplicitDestination object.
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
The coordinates are in the page coordinate context.
Whole PDF file will be submitted.