ColorSpace.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/object.h>
5 
6 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
7 
8 namespace System
9 {
10 class String;
11 } // namespace System
12 
13 namespace Aspose {
14 
15 namespace Pdf {
16 
20 enum class ColorSpace
21 {
25  DeviceRGB,
29  DeviceCMYK,
34 };
35 
36 
37 // C# preprocessor directive: #if __cplusplus
38 
39 
40 // C# preprocessor directive: #else
41 
42 
43 // C# preprocessor directive: #endif
44 
45 class ASPOSE_PDF_SHARED_CLASS ColorSpaceConverter : public System::Object
46 {
48  typedef System::Object BaseType;
49 
50  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
51  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
52 
53 public:
54 
55  static ASPOSE_PDF_SHARED_API System::String ToString(ColorSpace value);
56  static ASPOSE_PDF_SHARED_API ColorSpace ToEnum(System::String value);
57 
58 };
59 
60 } // namespace Pdf
61 } // namespace Aspose
62 
63 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
The device-dependent RGB color space.
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
The device-dependent gray color space.
The device-dependent CMYK color space.
Definition: AFRelationship.h:4
ColorSpace
The color spaces enumeration.
Definition: ColorSpace.h:20
Definition: ColorSpace.h:45
Whole PDF file will be submitted.