search/mag_sel search/close
ThumbnailGeneratingOptions.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 <drawing/size.h>
13 
14 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
15 
16 namespace Aspose {
17 
18 namespace Words {
19 
20 namespace Rendering {
21 
47 class ASPOSE_WORDS_SHARED_CLASS ThumbnailGeneratingOptions : public System::Object
48 {
50  typedef System::Object BaseType;
51 
52  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
53  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
54 
55 public:
56 
82  ASPOSE_WORDS_SHARED_API bool get_GenerateFromFirstPage() const;
83 
85  ASPOSE_WORDS_SHARED_API void set_GenerateFromFirstPage(bool value);
86 
113  ASPOSE_WORDS_SHARED_API System::Drawing::Size get_ThumbnailSize() const;
114 
116  ASPOSE_WORDS_SHARED_API void set_ThumbnailSize(System::Drawing::Size value);
117 
118  ASPOSE_WORDS_SHARED_API ThumbnailGeneratingOptions();
119 
120 private:
121 
122  bool mGenerateFromFirstPage;
123  System::Drawing::Size mThumbnailSize;
124 
125  static System::Drawing::Size& gDefaultSize();
126 
127 };
128 
129 }
130 }
131 }