ViewOptions.h
1
2// Copyright 2001-2022 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 <cstdint>
13
14#include <Aspose.Words.Cpp/Settings/ZoomType.h>
15#include <Aspose.Words.Cpp/Settings/ViewType.h>
16#include <Aspose.Words.Cpp/aspose_words_api_defs.h>
17
18namespace Aspose {
19
20namespace Words {
21
22namespace Settings {
23
62class ASPOSE_WORDS_SHARED_CLASS ViewOptions : public System::Object
63{
64 typedef ViewOptions ThisType;
66
67 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
68 ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
69
70public:
71
93 ASPOSE_WORDS_SHARED_API Aspose::Words::Settings::ViewType get_ViewType() const;
94
96 ASPOSE_WORDS_SHARED_API void set_ViewType(Aspose::Words::Settings::ViewType value);
97
133 ASPOSE_WORDS_SHARED_API Aspose::Words::Settings::ZoomType get_ZoomType() const;
134
136 ASPOSE_WORDS_SHARED_API void set_ZoomType(Aspose::Words::Settings::ZoomType value);
137
162 ASPOSE_WORDS_SHARED_API int32_t get_ZoomPercent() const;
163
165 ASPOSE_WORDS_SHARED_API void set_ZoomPercent(int32_t value);
166
198 ASPOSE_WORDS_SHARED_API bool get_DoNotDisplayPageBoundaries() const;
199
201 ASPOSE_WORDS_SHARED_API void set_DoNotDisplayPageBoundaries(bool value);
202
226 ASPOSE_WORDS_SHARED_API bool get_DisplayBackgroundShape() const;
227
229 ASPOSE_WORDS_SHARED_API void set_DisplayBackgroundShape(bool value);
230
251 ASPOSE_WORDS_SHARED_API bool get_FormsDesign() const;
252
254 ASPOSE_WORDS_SHARED_API void set_FormsDesign(bool value);
255
256protected:
257
258 ViewOptions();
259
260private:
261
262 __TypeStub<4,4,4,4>::type mField0;
263 __TypeStub<4,4,4,4>::type mField1;
264 __TypeStub<4,4,4,4>::type mField2;
265 __TypeStub<1,1,1,1>::type mField3;
266 __TypeStub<1,1,1,1>::type mField4;
267 __TypeStub<1,1,1,1>::type mField5;
268
269};
270
271}
272}
273}