Aspose::Pdf::Forms::BarcodeField class

BarcodeField class

Class represents barcode field.

class BarcodeField : public Aspose::Pdf::Forms::TextBoxField

Methods

MethodDescription
BarcodeField(System::SharedPtr<Aspose::Pdf::Page>, System::SharedPtr<Rectangle>)Initializes new instance of the BarcodeField class.
BarcodeField(System::SharedPtr<Document>, System::SharedPtr<Rectangle>)Initializes new instance of the BarcodeField class.
get_Caption()Gets the caption of the barcode object.
get_ECC()Gets an integer value representing the error correction coefficient. For PDF417, shall be from 0 to 8. For QRCode, shall be from 0 to 3 (0 for ‘L’, 1 for ‘M’, 2 for ‘Q’, and 3 for ‘H’).
get_Resolution()Gets the resolution, in dots-per-inch (dpi), at which the barcode object is rendered.
get_Symbology()Specifies which barcode or glyph technology is to be used on this annotation, see Symbology for details.
get_XSymHeight()Gets the the vertical distance between two barcode modules, measured in pixels. The ratio XSymHeight/XSymWidth shall be an integer value. For PDF417, the acceptable ratio range is from 1 to 4. For QRCode and DataMatrix, this ratio shall always be 1.
get_XSymWidth()Gets The horizontal distance, in pixels, between two barcode modules.

See Also