search/mag_sel search/close
Fill.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/array.h>
12 #include <drawing/color.h>
13 #include <cstdint>
14 
15 #include <Aspose.Words.Cpp/Drawing/PresetTexture.h>
16 #include <Aspose.Words.Cpp/Drawing/FillType.h>
17 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
18 
19 namespace Aspose { namespace Words { namespace Drawing { namespace Charts { class ChartFormat; } } } }
20 namespace Aspose { namespace Words { namespace Drawing { class ShapeBase; } } }
21 namespace Aspose { namespace Words { class Font; } }
22 namespace Aspose { namespace Words { namespace Drawing { namespace Core { class IFillable; } } } }
23 
24 namespace Aspose {
25 
26 namespace Words {
27 
28 namespace Drawing {
29 
70 class ASPOSE_WORDS_SHARED_CLASS Fill : public System::Object
71 {
72  typedef Fill ThisType;
73  typedef System::Object BaseType;
74 
75  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
76  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
77 
80  friend class Aspose::Words::Font;
81 
82 public:
83 
86 
88  [[deprecated("This property is obsolete. Please, use ForeColor property instead.")]]
89  ASPOSE_WORDS_SHARED_API System::Drawing::Color get_Color();
90 
93  [[deprecated("This property is obsolete. Please, use ForeColor property instead.")]]
94  ASPOSE_WORDS_SHARED_API void set_Color(System::Drawing::Color value);
95 
98  [[deprecated("This property is obsolete. Please, use Visible property instead.")]]
99  ASPOSE_WORDS_SHARED_API bool get_On();
100 
103  [[deprecated("This property is obsolete. Please, use Visible property instead.")]]
104  ASPOSE_WORDS_SHARED_API void set_On(bool value);
105 
138  ASPOSE_WORDS_SHARED_API double get_Opacity();
139 
141  ASPOSE_WORDS_SHARED_API void set_Opacity(double value);
142 
220  ASPOSE_WORDS_SHARED_API System::ArrayPtr<uint8_t> get_ImageBytes();
221 
297  ASPOSE_WORDS_SHARED_API System::Drawing::Color get_ForeColor();
298 
300  ASPOSE_WORDS_SHARED_API void set_ForeColor(System::Drawing::Color value);
301 
303  ASPOSE_WORDS_SHARED_API System::Drawing::Color get_BackColor();
304 
306  ASPOSE_WORDS_SHARED_API void set_BackColor(System::Drawing::Color value);
307 
383  ASPOSE_WORDS_SHARED_API bool get_Visible();
384 
386  ASPOSE_WORDS_SHARED_API void set_Visible(bool value);
387 
389  ASPOSE_WORDS_SHARED_API double get_Transparency();
390 
392  ASPOSE_WORDS_SHARED_API void set_Transparency(double value);
393 
395  ASPOSE_WORDS_SHARED_API bool get_RotateWithObject();
396 
398  ASPOSE_WORDS_SHARED_API void set_RotateWithObject(bool value);
399 
402 
404  ASPOSE_WORDS_SHARED_API void Solid();
405 
407  ASPOSE_WORDS_SHARED_API void Solid(System::Drawing::Color color);
408 
412  ASPOSE_WORDS_SHARED_API void PresetTextured(Aspose::Words::Drawing::PresetTexture presetTexture);
413 
414 protected:
415 
417 
418  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Fill, CODEPORTING_ARGS(System::SharedPtr<Aspose::Words::Drawing::Core::IFillable> parent));
419 
420 private:
421 
423 
424 };
425 
426 }
427 }
428 }