Aspose.Tasks for C++
Gridlines.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="Gridlines.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 #include <drawing/color.h>
10 #include <cstdint>
11 
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
13 
14 namespace Aspose
15 {
16 namespace Tasks
17 {
18 namespace Visualization
19 {
20 enum class GridlineType;
21 enum class LinePattern;
22 } // namespace Visualization
23 } // namespace Tasks
24 } // namespace Aspose
25 
26 namespace Aspose {
27 
28 namespace Tasks {
29 
30 namespace Visualization {
31 
32 /// <summary>
33 /// Represents gridlines that appear in a GanttChart view.
34 /// </summary>
35 class ASPOSE_TASKS_SHARED_CLASS Gridlines : public System::Object
36 {
37  typedef Gridlines ThisType;
38  typedef System::Object BaseType;
39 
40  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
41  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
42 
43 public:
44 
45  /// <summary>
46  /// Gets the number from 0 to 99 that specifies the interval between gridlines.
47  /// </summary>
48  ASPOSE_TASKS_SHARED_API int32_t get_Interval() const;
49  /// <summary>
50  /// Sets the number from 0 to 99 that specifies the interval between gridlines.
51  /// </summary>
52  ASPOSE_TASKS_SHARED_API void set_Interval(int32_t value);
53  /// <summary>
54  /// Gets the color of secondary gridlines.
55  /// </summary>
56  ASPOSE_TASKS_SHARED_API System::Drawing::Color get_IntervalColor() const;
57  /// <summary>
58  /// Sets the color of secondary gridlines.
59  /// </summary>
60  ASPOSE_TASKS_SHARED_API void set_IntervalColor(System::Drawing::Color value);
61  /// <summary>
62  /// Gets the line pattern for secondary gridlines.
63  /// </summary>
64  ASPOSE_TASKS_SHARED_API LinePattern get_IntervalPattern() const;
65  /// <summary>
66  /// Sets the line pattern for secondary gridlines.
67  /// </summary>
68  ASPOSE_TASKS_SHARED_API void set_IntervalPattern(LinePattern value);
69  /// <summary>
70  /// Gets the color of normal gridlines.
71  /// </summary>
72  ASPOSE_TASKS_SHARED_API System::Drawing::Color get_NormalColor() const;
73  /// <summary>
74  /// Sets the color of normal gridlines.
75  /// </summary>
76  ASPOSE_TASKS_SHARED_API void set_NormalColor(System::Drawing::Color value);
77  /// <summary>
78  /// Gets the line pattern for normal gridlines.
79  /// </summary>
80  ASPOSE_TASKS_SHARED_API LinePattern get_NormalPattern() const;
81  /// <summary>
82  /// Sets the line pattern for normal gridlines.
83  /// </summary>
84  ASPOSE_TASKS_SHARED_API void set_NormalPattern(LinePattern value);
85  /// <summary>
86  /// Gets the gridline type.
87  /// </summary>
88  ASPOSE_TASKS_SHARED_API GridlineType get_Type() const;
89  /// <summary>
90  /// Sets the gridline type.
91  /// </summary>
92  ASPOSE_TASKS_SHARED_API void set_Type(GridlineType value);
93 
94  ASPOSE_TASKS_SHARED_API Gridlines();
95 
96 protected:
97 
98  #ifdef ASPOSE_GET_SHARED_MEMBERS
99  ASPOSE_TASKS_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
100  #endif
101 
102 
103 private:
104 
105  int32_t interval;
106  System::Drawing::Color pr_IntervalColor;
107  LinePattern pr_IntervalPattern;
108  System::Drawing::Color pr_NormalColor;
109  LinePattern pr_NormalPattern;
110  GridlineType pr_Type;
111 
112 };
113 
114 } // namespace Visualization
115 } // namespace Tasks
116 } // namespace Aspose
117 
118 
Represents gridlines that appear in a GanttChart view.
Definition: Gridlines.h:36
void set_IntervalColor(System::Drawing::Color value)
Sets the color of secondary gridlines.
void set_Type(GridlineType value)
Sets the gridline type.
LinePattern get_IntervalPattern() const
Gets the line pattern for secondary gridlines.
void set_IntervalPattern(LinePattern value)
Sets the line pattern for secondary gridlines.
System::Drawing::Color get_NormalColor() const
Gets the color of normal gridlines.
GridlineType get_Type() const
Gets the gridline type.
LinePattern get_NormalPattern() const
Gets the line pattern for normal gridlines.
void set_NormalPattern(LinePattern value)
Sets the line pattern for normal gridlines.
void set_Interval(int32_t value)
Sets the number from 0 to 99 that specifies the interval between gridlines.
void set_NormalColor(System::Drawing::Color value)
Sets the color of normal gridlines.
System::Drawing::Color get_IntervalColor() const
Gets the color of secondary gridlines.
int32_t get_Interval() const
Gets the number from 0 to 99 that specifies the interval between gridlines.
Definition: Asn.h:13