BarcodeField.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <cstdint>
5 
6 #include "Aspose.PDF.Cpp/InteractiveFeatures/Forms/TextBoxField.h"
7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8 
9 namespace Aspose
10 {
11 namespace Pdf
12 {
13 namespace Annotations
14 {
15 class Annotation;
16 } // namespace Annotations
17 class Document;
18 namespace Engine
19 {
20 namespace Data
21 {
22 class IPdfDictionary;
23 class IPdfObject;
24 } // namespace Data
25 } // namespace Engine
26 namespace Forms
27 {
28 class Field;
29 enum class Symbology;
30 } // namespace Forms
31 class Page;
32 class Rectangle;
33 } // namespace Pdf
34 } // namespace Aspose
35 namespace System
36 {
37 class String;
38 } // namespace System
39 
40 namespace Aspose {
41 
42 namespace Pdf {
43 
44 namespace Forms {
45 
49 class ASPOSE_PDF_SHARED_CLASS BarcodeField final : public Aspose::Pdf::Forms::TextBoxField
50 {
51  typedef BarcodeField ThisType;
53 
54  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
55  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
56 
58 
59 public:
60 
64  ASPOSE_PDF_SHARED_API int32_t get_Resolution();
68  ASPOSE_PDF_SHARED_API System::String get_Caption();
73  ASPOSE_PDF_SHARED_API Aspose::Pdf::Forms::Symbology get_Symbology();
77  ASPOSE_PDF_SHARED_API int32_t get_XSymWidth();
84  ASPOSE_PDF_SHARED_API int32_t get_XSymHeight();
90  ASPOSE_PDF_SHARED_API int32_t get_ECC();
91 
108 
109 protected:
110 
112 
114  ASPOSE_PDF_SHARED_API void UpdateAppearance(System::SharedPtr<Aspose::Pdf::Annotations::Annotation> annotation) override;
115 
116  virtual ASPOSE_PDF_SHARED_API ~BarcodeField();
117 
118 private:
119 
120  void assertPMD();
122 
123 };
124 
125 } // namespace Forms
126 } // namespace Pdf
127 } // namespace Aspose
128 
129 
Symbology
A (Barcode) Symbology defines the technical details of a particular type of barcode: the width of the...
Definition: Symbology.h:21
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Field, CODEPORTING_ARGS(System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > annotation, System::SharedPtr< Document > document))
Definition: Artifact.h:67
Class represents barcode field.
Definition: BarcodeField.h:49
Base class for acro form fields.
Definition: Field.h:130
Specifies that the member is a field.
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
ASPOSE_PDF_SHARED_API void UpdateAppearance(System::SharedPtr< Annotation > annotation) override
Updated appearance dictionary of the field.
Class representing text box field.
Definition: TextBoxField.h:88
Definition: AFRelationship.h:4
Defies a method that enables object cloning - creating a copy of an object. Objects of this class sho...
Definition: icloneable.h:15
The coordinates are in the page coordinate context.
Represents a abstract base object can be added to the page(doc.Paragraphs.Add()). ...
Definition: BaseParagraph.h:66
Whole PDF file will be submitted.