PrintScaling.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/object_ext.h>
5 #include <system/enum.h>
6 
7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8 
9 namespace Aspose {
10 
11 namespace Pdf {
12 
16 enum class PrintScaling
17 {
21  AppDefault,
25  None
26 };
27 
28 
29 // C# preprocessor directive: #if __cplusplus
30 
31 
32 // C# preprocessor directive: #else
33 
34 
35 // C# preprocessor directive: #endif
36 
40 class ASPOSE_PDF_SHARED_CLASS PrintScalingConverter
41 {
43 
44 public:
45 
51  static ASPOSE_PDF_SHARED_API System::String ToString(PrintScaling value);
57  static ASPOSE_PDF_SHARED_API PrintScaling ToEnum(System::String value);
58 
59 public:
60  PrintScalingConverter() = delete;
61 };
62 
63 } // namespace Pdf
64 } // namespace Aspose
65 
66 template<>
67 struct EnumMetaInfo<Aspose::Pdf::PrintScaling>
68 {
69  static const ASPOSE_PDF_SHARED_API std::array<std::pair<Aspose::Pdf::PrintScaling, const char_t*>, 2>& values();
70 };
71 
72 
73 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Represents conversion routines between PrintScaling value and string representation.
Definition: PrintScaling.h:40
Definition: AFRelationship.h:4
The conforming reader&#39;s default print scaling.
PrintScaling
The page scaling option that shall be selected when a print dialog is displayed for this document...
Definition: PrintScaling.h:16
Whole PDF file will be submitted.