Option.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 {
15 class Form;
16 } // namespace Facades
17 namespace Forms
18 {
19 class BaseOption;
20 class OptionCollection;
21 } // namespace Forms
22 } // namespace Pdf
23 } // namespace Aspose
24 namespace System
25 {
26 class String;
27 } // namespace System
28 
29 namespace Aspose {
30 
31 namespace Pdf {
32 
33 namespace Forms {
34 
38 class ASPOSE_PDF_SHARED_CLASS Option final : public System::Object
39 {
40  typedef Option ThisType;
41  typedef System::Object BaseType;
42 
43  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
44  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
45 
49 
50 public:
51 
55  ASPOSE_PDF_SHARED_API System::String get_Value();
59  ASPOSE_PDF_SHARED_API void set_Value(System::String value);
63  ASPOSE_PDF_SHARED_API System::String get_Name();
67  ASPOSE_PDF_SHARED_API void set_Name(System::String value);
71  ASPOSE_PDF_SHARED_API bool get_Selected();
75  ASPOSE_PDF_SHARED_API void set_Selected(bool value);
79  ASPOSE_PDF_SHARED_API int32_t get_Index();
80 
81 protected:
82 
84 
86 
88  bool HasExportValue();
89 
90 };
91 
92 } // namespace Forms
93 } // namespace Pdf
94 } // namespace Aspose
95 
96 
System::SharedPtr< BaseOption > option
Definition: Option.h:83
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Class representing Acro form object.
Definition: Form.h:115
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
Class represents option of choice field.
Definition: Option.h:38
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
Definition: AFRelationship.h:4
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(OptionCollection, CODEPORTING_ARGS(System::SharedPtr< BaseOptionCollection > options))
Class representing collection of options of the choice field.
Definition: OptionCollection.h:52
Whole PDF file will be submitted.