FitRExplicitDestination.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 FitRExplicitDestination 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_Left();
54  ASPOSE_PDF_SHARED_API double get_Bottom();
58  ASPOSE_PDF_SHARED_API double get_Right();
62  ASPOSE_PDF_SHARED_API double get_Top();
63 
72  ASPOSE_PDF_SHARED_API FitRExplicitDestination(System::SharedPtr<Aspose::Pdf::Page> page, double left, double bottom, double right, double top);
83  ASPOSE_PDF_SHARED_API FitRExplicitDestination(System::SharedPtr<Document> document, int32_t pageNumber, double left, double bottom, double right, double top);
92  ASPOSE_PDF_SHARED_API FitRExplicitDestination(int32_t pageNumber, double left, double bottom, double right, double top);
93 
98  ASPOSE_PDF_SHARED_API System::String ToString() const override;
99 
100 protected:
101 
107 
108  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(FitRExplicitDestination, CODEPORTING_ARGS(System::SharedPtr<Aspose::Pdf::Engine::Data::IPdfArray> engineDest));
109 
110 private:
111 
112  System::String ToString_NonConst();
113 
114 };
115 
116 } // namespace Annotations
117 } // namespace Pdf
118 } // namespace Aspose
119 
120 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
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.
Represents explicit destination that displays the page with its contents magnified just enough to fit...
Definition: FitRExplicitDestination.h:35
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.