RenderingOptions.h
1 #pragma once
2 // Copyright (c) 2001-2022 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/string.h>
5 #include <cstdint>
6 
7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8 
9 namespace Aspose {
10 
11 namespace Pdf {
12 
16 class ASPOSE_PDF_SHARED_CLASS RenderingOptions final : public System::Object
17 {
18  typedef RenderingOptions ThisType;
19  typedef System::Object BaseType;
20 
21  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
22  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
23 
24 public:
25 
29  ASPOSE_PDF_SHARED_API bool get_BarcodeOptimization() const;
33  ASPOSE_PDF_SHARED_API void set_BarcodeOptimization(bool value);
37  ASPOSE_PDF_SHARED_API bool get_OptimizeDimensions() const;
41  ASPOSE_PDF_SHARED_API void set_OptimizeDimensions(bool value);
45  ASPOSE_PDF_SHARED_API bool get_SystemFontsNativeRendering() const;
49  ASPOSE_PDF_SHARED_API void set_SystemFontsNativeRendering(bool value);
53  ASPOSE_PDF_SHARED_API bool get_UseNewImagingEngine() const;
57  ASPOSE_PDF_SHARED_API void set_UseNewImagingEngine(bool value);
61  ASPOSE_PDF_SHARED_API float get_WidthExtraUnits() const;
65  ASPOSE_PDF_SHARED_API void set_WidthExtraUnits(float value);
69  ASPOSE_PDF_SHARED_API float get_HeightExtraUnits() const;
73  ASPOSE_PDF_SHARED_API void set_HeightExtraUnits(float value);
79  ASPOSE_PDF_SHARED_API bool get_ConvertFontsToUnicodeTTF() const;
85  ASPOSE_PDF_SHARED_API void set_ConvertFontsToUnicodeTTF(bool value);
91  ASPOSE_PDF_SHARED_API bool get_UseFontHinting() const;
97  ASPOSE_PDF_SHARED_API void set_UseFontHinting(bool value);
101  ASPOSE_PDF_SHARED_API bool get_ScaleImagesToFitPageWidth() const;
105  ASPOSE_PDF_SHARED_API void set_ScaleImagesToFitPageWidth(bool value);
109  ASPOSE_PDF_SHARED_API bool get_InterpolationHighQuality() const;
113  ASPOSE_PDF_SHARED_API void set_InterpolationHighQuality(bool value);
117  ASPOSE_PDF_SHARED_API int32_t get_MaxFontsCacheSize() const;
121  ASPOSE_PDF_SHARED_API void set_MaxFontsCacheSize(int32_t value);
125  ASPOSE_PDF_SHARED_API int32_t get_MaxSymbolsCacheSize() const;
129  ASPOSE_PDF_SHARED_API void set_MaxSymbolsCacheSize(int32_t value);
133  ASPOSE_PDF_SHARED_API System::String get_DefaultFontName() const;
137  ASPOSE_PDF_SHARED_API void set_DefaultFontName(System::String value);
143  ASPOSE_PDF_SHARED_API bool get_IgnoreResourceFontErrors() const;
149  ASPOSE_PDF_SHARED_API void set_IgnoreResourceFontErrors(bool value);
150 
154  ASPOSE_PDF_SHARED_API RenderingOptions();
155 
156 private:
157 
158  bool _barcodeOptimization;
159  bool _systemFontsNativeRendering;
160  bool _useNewImagingEngine;
161  float _widthExtraUnits;
162  bool _convertFontsToUnicodeTtf;
163  bool _scaleImagesToFitPageWidth;
164  bool _interpolationHighQuality;
165  bool _optimizeDimensions;
166  bool _ignoreResourceFontErrors;
167  int32_t _maxFontsCacheSize;
168  int32_t _maxSymbolsCacheSize;
169  System::String _defaultFontName;
170  float pr_HeightExtraUnits;
171  bool pr_UseFontHinting;
172 
173 };
174 
175 } // namespace Pdf
176 } // namespace Aspose
177 
178 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Definition: reflection.h:29
Definition: AFRelationship.h:4
Represents rendering options.
Definition: RenderingOptions.h:16
Whole PDF file will be submitted.