Barcode Check Info Annotation Body Component

Defined in framework ScanditBarcodeCapture

SDCBarcodeCheckInfoAnnotationBodyComponent
@interface SDCBarcodeCheckInfoAnnotationBodyComponent : UIView

Added in version 7.1.0

A component that forms the body of an info annotation. Each component represents a “row,” containing text with optional icons on the left and/or right sides.

text
@property (nonatomic, strong, nullable) NSString *text

Added in version 7.1.0

The text shown in the component.

font
@property (nonatomic, strong) UIFont *font

Added in version 7.1.0

The font used for the text. The default value is the system font of size 14.

textAlignment
@property (nonatomic, assign) NSTextAlignment textAlignment

Added in version 7.1.0

The text alignment. The default value is center.

textColor
@property (nonatomic, strong) UIColor *textColor

Added in version 7.1.0

The color of the text. The default value is #121619.

styledText
@property (nonatomic, strong, nullable) NSAttributedString *styledText

Added in version 7.1.0

The styled text shown in the component. When set, it overrides the values defined in the other text-related properties (text, font, textColor, textAlignment).

isLeftIconTappable
@property (nonatomic, assign) BOOL isLeftIconTappable

Added in version 7.1.0

Whether the left icon is tappable. Default is YES.

leftIcon
@property (nonatomic, strong, nullable) SDCScanditIcon *leftIcon

Added in version 7.1.0

The icon displayed on the left side of the component. If nil, no button is shown. The default value is nil.

rightIcon
@property (nonatomic, strong, nullable) SDCScanditIcon *rightIcon

Added in version 7.1.0

The icon displayed on the right side of the component. If nil, no button is shown. The default value is nil.

isRightIconTappable
@property (nonatomic, assign) BOOL isRightIconTappable

Added in version 7.1.0

Whether the right icon is tappable. Default is YES.