TextProperties.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/object.h>
5 #include <drawing/color.h>
6 
7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8 
9 namespace Aspose {
10 
11 namespace Pdf {
12 
13 namespace Facades {
14 
18 class ASPOSE_PDF_SHARED_CLASS TextProperties final : public System::Object
19 {
20  typedef TextProperties ThisType;
21  typedef System::Object BaseType;
22 
23  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
24  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
25 
26 public:
27 
31  ASPOSE_PDF_SHARED_API System::Drawing::Color get_Color() const;
35  ASPOSE_PDF_SHARED_API void set_Color(System::Drawing::Color value);
39  ASPOSE_PDF_SHARED_API bool get_IsColorSpecified() const;
43  ASPOSE_PDF_SHARED_API double get_TextSize() const;
47  ASPOSE_PDF_SHARED_API void set_TextSize(double value);
51  ASPOSE_PDF_SHARED_API bool get_IsTextSizeSpecified() const;
52 
57  ASPOSE_PDF_SHARED_API TextProperties(double textSize);
58 
59 private:
60 
62  double textSize;
63  bool isColorSpecified;
64  bool isTextSizeSpecified;
65 
66 };
67 
68 } // namespace Facades
69 } // namespace Pdf
70 } // namespace Aspose
71 
72 
Represents text properties such as: text size, color, style etc.
Definition: TextProperties.h:18
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Definition: AFRelationship.h:4
Represents a color. This type should be allocated on stack and passed to functions by value or by ref...
Definition: color.h:23
Whole PDF file will be submitted.