CharInfo.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/object.h>
5 
6 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
7 
8 namespace Aspose
9 {
10 namespace Pdf
11 {
12 class Rectangle;
13 namespace Text
14 {
15 class Position;
16 class TextSegment;
17 } // namespace Text
18 } // namespace Pdf
19 } // namespace Aspose
20 
21 namespace Aspose {
22 
23 namespace Pdf {
24 
25 namespace Text {
26 
31 class ASPOSE_PDF_SHARED_CLASS CharInfo final : public System::Object
32 {
33  typedef CharInfo ThisType;
34  typedef System::Object BaseType;
35 
36  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
37  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
38 
40 
41 public:
42 
50  ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::Rectangle> get_Rectangle() const;
51 
52 protected:
53 
58 
60 
61 private:
62 
65 
66 };
67 
68 } // namespace Text
69 } // namespace Pdf
70 } // namespace Aspose
71 
72 
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Represents segment of Pdf text.
Definition: TextSegment.h:137
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Rectangle > get_Rectangle()
Gets rectangle of the TextSegment
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(TextSegment, CODEPORTING_ARGS(System::SharedPtr< Aspose::Pdf::Engine::CommonData::Text::Segmenting::PhysicalTextSegment > physicalSegment, int32_t startCharIndex, int32_t endCharIndex, System::SharedPtr< Aspose::Pdf::Text::TextEditOptions > textEditOptions))
Definition: AFRelationship.h:4
Represents a character info object. Provides character positioning information.
Definition: CharInfo.h:31
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Text::Position > get_Position() const
Gets text position for text, represented with TextSegment object.
Whole PDF file will be submitted.