ViewerPreference.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/object.h>
5 #include <cstdint>
6 
7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8 
9 namespace Aspose {
10 
11 namespace Pdf {
12 
13 namespace Facades {
14 
18 class ASPOSE_PDF_SHARED_CLASS ViewerPreference final : public System::Object
19 {
20  typedef ViewerPreference ThisType;
21  typedef System::Object BaseType;
22 
23  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
24  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
25 
26 public:
27 
31  static constexpr ASPOSE_PDF_SHARED_API int32_t PageModeUseOC = 1048576;
35  static constexpr ASPOSE_PDF_SHARED_API int32_t DisplayDocTitle = 262144;
39  static constexpr ASPOSE_PDF_SHARED_API int32_t NonFullScreenPageModeUseOC = 524288;
43  static constexpr ASPOSE_PDF_SHARED_API int32_t PageLayoutSinglePage = 1;
47  static constexpr ASPOSE_PDF_SHARED_API int32_t PageLayoutOneColumn = 2;
51  static constexpr ASPOSE_PDF_SHARED_API int32_t PageLayoutTwoColumnLeft = 4;
55  static constexpr ASPOSE_PDF_SHARED_API int32_t PageLayoutTwoColumnRight = 8;
59  static constexpr ASPOSE_PDF_SHARED_API int32_t PageModeUseNone = 16;
63  static constexpr ASPOSE_PDF_SHARED_API int32_t PageModeUseOutlines = 32;
67  static constexpr ASPOSE_PDF_SHARED_API int32_t PageModeUseThumbs = 64;
71  static constexpr ASPOSE_PDF_SHARED_API int32_t PageModeFullScreen = 128;
75  static constexpr ASPOSE_PDF_SHARED_API int32_t PageModeUseAttachment = 2097152;
79  static constexpr ASPOSE_PDF_SHARED_API int32_t HideToolbar = 256;
83  static constexpr ASPOSE_PDF_SHARED_API int32_t HideMenubar = 512;
87  static constexpr ASPOSE_PDF_SHARED_API int32_t HideWindowUI = 1024;
91  static constexpr ASPOSE_PDF_SHARED_API int32_t FitWindow = 2048;
95  static constexpr ASPOSE_PDF_SHARED_API int32_t CenterWindow = 4096;
99  static constexpr ASPOSE_PDF_SHARED_API int32_t NonFullScreenPageModeUseNone = 8192;
103  static constexpr ASPOSE_PDF_SHARED_API int32_t NonFullScreenPageModeUseOutlines = 16384;
107  static constexpr ASPOSE_PDF_SHARED_API int32_t NonFullScreenPageModeUseThumbs = 32768;
111  static constexpr ASPOSE_PDF_SHARED_API int32_t DirectionL2R = 65536;
115  static constexpr ASPOSE_PDF_SHARED_API int32_t DirectionR2L = 131072;
119  static constexpr ASPOSE_PDF_SHARED_API int32_t Simplex = 4194304;
123  static constexpr ASPOSE_PDF_SHARED_API int32_t DuplexFlipShortEdge = 8388608;
127  static constexpr ASPOSE_PDF_SHARED_API int32_t DuplexFlipLongEdge = 16777216;
131  static constexpr ASPOSE_PDF_SHARED_API int32_t PrintScalingAppDefault = static_cast<int32_t>(1 << 25);
135  static constexpr ASPOSE_PDF_SHARED_API int32_t PrintScalingNone = static_cast<int32_t>(1 << 26);
139  static constexpr ASPOSE_PDF_SHARED_API int32_t PickTrayByPDFSize = static_cast<int32_t>(1 << 27);
140 
141 };
142 
143 } // namespace Facades
144 } // namespace Pdf
145 } // namespace Aspose
146 
147 
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Definition: AFRelationship.h:4
Describes viewer prefereces (page mode, non full screen page mode, page layout).
Definition: ViewerPreference.h:18
Duplex and flip on the long edge of the sheet.
Duplex and flip on the short edge of the sheet.
Whole PDF file will be submitted.