3#include "reader_2d_with_quietzone_config_base.hpp"
11 using namespace Internal;
29 if(orientation_ != orientation)
31 orientation_ = orientation;
63 isActiveOut = pConfig->ReadFromHandle(guard);
68 virtual bool ReadFromHandle_(
const HandleGuard<ReaderConfig>& guard)
override
70 CExports::cvbbool_t active;
72 CVB_CALL_CAPI(CvcBcGetMicroPDF417(
reinterpret_cast<std::intptr_t>(guard.Handle()),
80 return SmartBool(active);
83 virtual void WriteToHandle_(
bool active, HandleGuard<ReaderConfig>& guard)
override
85 Internal::DoResCall([&]()
87 return CVB_CALL_CAPI(CvcBcSetMicroPDF417(
reinterpret_cast<std::intptr_t>(guard.Handle()),
89 static_cast<short>(orientation_),
97 : Reader2DWithQuietzoneConfigBase()
Configuration to access parameters of Reader2DWithQuietzoneConfigBase.
Definition: reader_2d_with_quietzone_config_base.hpp:19
Configuration to access parameters of MicroPdf417.
Definition: micro_pdf417.hpp:17
CodeOrientation Orientation() const
Returns the orientation of the code in the image.
Definition: micro_pdf417.hpp:40
void SetOrientation(CodeOrientation orientation)
Specifies the orientation of the code in the image.
Definition: micro_pdf417.hpp:27
static std::unique_ptr< MicroPdf417 > FromHandle(const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
Create object from handle.
Definition: micro_pdf417.hpp:60
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:97
@ MicroPdf417
Micro PDF417 Matrix Code.
CodeOrientation
Directions that a four state code may have.
Definition: barcode.hpp:190
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24