PdfMetered.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 //using Aspose.JavaAttributes;
4 
5 
6 // To compile metered for your product, make sure your product is mentioned here and add a conditional
7 // compilation constant to your project properties (both to Debug and Release configurations).
8 
9 // C# preprocessor directive: #if ASPOSE_WORDS
10 
11 // C# INACTIVE CODE:
12 // namespace Aspose.Words
13 
14 // C# preprocessor directive: #elif ASPOSE_WORDS_REPORTING_SERVICES
15 
16 // C# INACTIVE CODE:
17 // namespace Aspose.Words.ReportingServices
18 
19 // C# preprocessor directive: #elif ASPOSE_WORDS_SHAREPOINT
20 
21 // C# INACTIVE CODE:
22 // namespace Aspose.Words.SharePoint
23 
24 // C# preprocessor directive: #elif ASPOSE_CELLS
25 
26 // C# INACTIVE CODE:
27 // namespace Aspose.Cells
28 
29 // C# preprocessor directive: #elif ASPOSE_SLIDES
30 
31 // C# INACTIVE CODE:
32 // namespace Aspose.Slides
33 
34 // C# preprocessor directive: #elif ASPOSE_TASKS
35 
36 // C# INACTIVE CODE:
37 // namespace Aspose.Tasks
38 
39 // C# preprocessor directive: #elif ASPOSE_PDF
40 
41 
42 #include <system/object.h>
43 
44 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
45 
46 namespace System
47 {
48 class Decimal;
49 class String;
50 } // namespace System
51 
52 namespace Aspose {
53 
54 namespace Pdf {
55 
56 
57 // C# preprocessor directive: #elif ASPOSE_PDF_FORM
58 
59 // C# INACTIVE CODE:
60 // namespace Aspose.Pdf.Form
61 
62 // C# preprocessor directive: #elif ASPOSE_PDF_KIT
63 
64 // C# INACTIVE CODE:
65 // namespace Aspose.Pdf.Kit
66 
67 // C# preprocessor directive: #elif ASPOSE_PDF_FO
68 
69 // C# INACTIVE CODE:
70 // namespace Aspose.Pdf.Fo
71 
72 // C# preprocessor directive: #elif ASPOSE_CHART
73 
74 // C# INACTIVE CODE:
75 // namespace Aspose.Chart
76 
77 // C# preprocessor directive: #elif ASPOSE_SPELL
78 
79 // C# INACTIVE CODE:
80 // namespace Aspose.Spell
81 
82 // C# preprocessor directive: #elif ASPOSE_EMAIL
83 
84 // C# INACTIVE CODE:
85 // namespace Aspose.Email
86 
87 // C# preprocessor directive: #elif ASPOSE_MIME
88 
89 // C# INACTIVE CODE:
90 // namespace Aspose.Mime
91 
92 // C# preprocessor directive: #elif ASPOSE_ADHOC
93 
94 // C# INACTIVE CODE:
95 // namespace Aspose.AdHoc
96 
97 // C# preprocessor directive: #elif ASPOSE_ASPXPAND
98 
99 // C# INACTIVE CODE:
100 // namespace Aspose.ASPXPand
101 
102 // C# preprocessor directive: #elif ASPOSE_GRID
103 
104 // C# INACTIVE CODE:
105 // namespace Aspose.Grid
106 
107 // C# preprocessor directive: #elif ASPOSE_RECURRENCE
108 
109 // C# INACTIVE CODE:
110 // namespace Aspose.Recurrence
111 
112 // C# preprocessor directive: #elif ASPOSE_ICALENDAR
113 
114 // C# INACTIVE CODE:
115 // namespace Aspose.iCalendar
116 
117 // C# preprocessor directive: #elif ASPOSE_RECOGNITION
118 
119 // C# INACTIVE CODE:
120 // namespace Aspose.Recognition
121 
122 // C# preprocessor directive: #elif ASPOSE_OCR
123 
124 // C# INACTIVE CODE:
125 // namespace Aspose.OCR
126 
127 // C# preprocessor directive: #elif ASPOSE_IMAGING
128 
129 // C# INACTIVE CODE:
130 // namespace Aspose.Imaging
131 
132 // C# preprocessor directive: #elif ASPOSE_BARCODE && REPORT
133 
134 // C# INACTIVE CODE:
135 // namespace Aspose.BarCode.ReportingServices
136 
137 // C# preprocessor directive: #elif ASPOSE_BARCODE && WPF
138 
139 // C# INACTIVE CODE:
140 // namespace Aspose.BarCode.WPF
141 
142 // C# preprocessor directive: #elif ASPOSE_BARCODE && RECOGNITION
143 
144 // C# INACTIVE CODE:
145 // namespace Aspose.BarCodeRecognition
146 
147 // C# preprocessor directive: #elif ASPOSE_BARCODE
148 
149 // C# INACTIVE CODE:
150 // namespace Aspose.BarCode
151 
152 // C# preprocessor directive: #elif ASPOSE_3D
153 
154 // C# INACTIVE CODE:
155 // namespace Aspose.ThreeD
156 
157 // C# preprocessor directive: #else
158 
159 // C# INACTIVE CODE:
160 // namespace Dynabic.Metered
161 
162 // C# preprocessor directive: #endif
163 
171 //[JavaManual]
172 class ASPOSE_PDF_SHARED_CLASS Metered : public System::Object
173 {
174  typedef Metered ThisType;
175  typedef System::Object BaseType;
176 
177  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
178  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
179 
180 public:
181 
185  ASPOSE_PDF_SHARED_API Metered();
186 
195  ASPOSE_PDF_SHARED_API void SetMeteredKey(System::String publicKey, System::String privateKey);
200  static ASPOSE_PDF_SHARED_API System::Decimal GetConsumptionQuantity();
205  static ASPOSE_PDF_SHARED_API System::Decimal GetConsumptionCredit();
210  ASPOSE_PDF_SHARED_API System::String GetProductName();
215  static ASPOSE_PDF_SHARED_API bool IsMeteredLicensed();
216 
217 };
218 
219 } // namespace Pdf
220 } // namespace Aspose
221 
222 
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: Artifact.h:67
Represents a decimal number. This type should be allocated on stack and passed to functions by value ...
Definition: decimal.h:106
A simple type representing values ranging from 1.0 x 10 -28 to approximately 7.9 x 10 28 with 28-29 s...
Provides methods to set metered key.
Definition: PdfMetered.h:172
Definition: AFRelationship.h:4
Whole PDF file will be submitted.