search/mag_sel search/close
AxisBound.h
1 // Copyright 2001-2021 Aspose Pty Ltd. All Rights Reserved.
3 //
4 // This file is part of Aspose.Words. The source code in this file
5 // is only intended as a supplement to the documentation, and is provided
6 // "as is", without warranty of any kind, either expressed or implied.
9 #pragma once
10 
11 #include <system/object.h>
12 #include <system/date_time.h>
13 #include <cstdint>
14 
15 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
16 
17 namespace Aspose { namespace Words { namespace RW { namespace Dml { namespace Reader { class DmlChartComplexTypesReader; } } } } }
18 namespace Aspose { namespace Words { namespace Drawing { namespace Charts { class AxisScaling; } } } }
19 namespace System { class String; }
20 
21 namespace Aspose {
22 
23 namespace Words {
24 
25 namespace Drawing {
26 
27 namespace Charts {
28 
80 class ASPOSE_WORDS_SHARED_CLASS AxisBound final : public System::Object
81 {
82  typedef AxisBound ThisType;
83  typedef System::Object BaseType;
84 
85  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
86  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
87 
88  friend class Aspose::Words::RW::Dml::Reader::DmlChartComplexTypesReader;
90 
91 public:
92 
145  ASPOSE_WORDS_SHARED_API bool get_IsAuto() const;
146 
199  ASPOSE_WORDS_SHARED_API double get_Value() const;
200 
253  ASPOSE_WORDS_SHARED_API System::DateTime get_ValueAsDate();
254 
257  ASPOSE_WORDS_SHARED_API AxisBound();
258 
352  ASPOSE_WORDS_SHARED_API AxisBound(double value);
353 
447  ASPOSE_WORDS_SHARED_API AxisBound(System::DateTime datetime);
448 
450  ASPOSE_WORDS_SHARED_API bool Equals(System::SharedPtr<System::Object> obj) override;
451 
453  ASPOSE_WORDS_SHARED_API int32_t GetHashCode() const override;
454 
456  ASPOSE_WORDS_SHARED_API System::String ToString() const override;
457 
458 protected:
459 
461 
462  virtual ASPOSE_WORDS_SHARED_API ~AxisBound();
463 
464 private:
465 
466  double mValue;
467  bool mIsAuto;
468 
469  static System::DateTime& MinExclusiveDate();
470  static System::DateTime& MaxDate();
471 
472  static const double MinExclusiveDateValue;
473  static const double MaxExclusiveDateValue;
474 
475 };
476 
477 }
478 }
479 }
480 }