Aspose.Tasks for C++
Thickness.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="Thickness.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <system/object.h>
9 
10 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
11 
12 namespace Aspose {
13 
14 namespace Tasks {
15 
16 namespace Visualization {
17 
18 /// <summary>
19 /// Represents margins of visual object.
20 /// </summary>
21 class ASPOSE_TASKS_SHARED_CLASS Thickness : public System::Object, public System::Details::BoxableObjectBase
22 {
23  typedef Thickness ThisType;
24  typedef System::Object BaseType;
25 
26  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
27  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
28 
29 public:
30 
31  /// <summary>
32  /// Gets the size of the top margin in points.
33  /// </summary>
34  ASPOSE_TASKS_SHARED_API float get_Top() const;
35  /// <summary>
36  /// Gets the size of the bottom margin in points.
37  /// </summary>
38  ASPOSE_TASKS_SHARED_API float get_Bottom() const;
39  /// <summary>
40  /// Gets the size of the left margin in points.
41  /// </summary>
42  ASPOSE_TASKS_SHARED_API float get_Left() const;
43  /// <summary>
44  /// Gets the size of the right margin in points.
45  /// </summary>
46  ASPOSE_TASKS_SHARED_API float get_Right() const;
47 
48  ASPOSE_TASKS_SHARED_API Thickness(float left, float top, float right, float bottom);
49  ASPOSE_TASKS_SHARED_API Thickness();
50 
51 private:
52 
53  float top;
54  float bottom;
55  float left;
56  float right;
57 
58 };
59 
60 } // namespace Visualization
61 } // namespace Tasks
62 } // namespace Aspose
63 
64 
Represents margins of visual object.
Definition: Thickness.h:21