Position.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/string.h>
5 
6 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
7 
8 namespace Aspose {
9 
10 namespace Pdf {
11 
12 namespace Text {
13 
17 class ASPOSE_PDF_SHARED_CLASS Position final : public System::Object
18 {
19  typedef Position ThisType;
20  typedef System::Object BaseType;
21 
22  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
23  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
24 
25 public:
26 
30  ASPOSE_PDF_SHARED_API double get_XIndent() const;
34  ASPOSE_PDF_SHARED_API void set_XIndent(double value);
38  ASPOSE_PDF_SHARED_API double get_YIndent() const;
42  ASPOSE_PDF_SHARED_API void set_YIndent(double value);
43 
49  ASPOSE_PDF_SHARED_API Position(double xIndent, double yIndent);
50 
56  ASPOSE_PDF_SHARED_API bool Equals(System::SharedPtr<System::Object> obj) override;
61  ASPOSE_PDF_SHARED_API System::String ToString() const override;
62 
63 private:
64 
65  double xIndent;
66  double yIndent;
67 
68  System::String ToString_NonConst();
69 
70 };
71 
72 } // namespace Text
73 } // namespace Pdf
74 } // namespace Aspose
75 
76 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
Represents a text type.
Definition: AFRelationship.h:4
Represents a position object
Definition: Position.h:17
Whole PDF file will be submitted.