BubbleArrayConfig

BubbleArrayConfig class

Display possible answers as options each inside circle(bubble). Can only be used inside CustomRowConfig

public class BubbleArrayConfig : BaseConfig

Constructors

NameDescription
BubbleArrayConfig()The default constructor.

Properties

NameDescription
AnswersValues { get; set; }Each value represent a symbol displayed inside of the bubble and amount of the bubbles. In case of difference between displayed value and recognized value see RecognitionValues Example: new string[] {“A”, “B”, “C”, “D”} Example: new string[] {“1”, “2”, “3”, “4”}
BubbleSize { get; set; }The size of a bubble
BubbleType { get; set; }The type of a bubble
FontFamily { get; set; }The font family of the text
FontSize { get; set; }The size of the text font
FontStyle { get; set; }The style of the text
Height { get; set; }If present overrides height in pixels of one bubble array row To set overflowing behavior see Overflow default value is -1. If default value is used - height of the bubble array will be scaled automatically.
HorizontalPadding { get; set; }Number of additional pixels between each of the bubble On left and right sides default value is 0
override Name { get; set; }Name of bubble Array. Does not participate in displaying or generation of element
RecognitionValues { get; set; }Each entry overrides value in the recognition result for correlating AnswersValues without affecting displayed value. if no value is set - recognition result will be filled with displayed values from the AnswersValues Example: new List(4) {“A”, “B”, “C”, “D”} Example: new List(4) {“Dog”, “Cat”, “Turtle”, “Dragon”}
Threshold { get; set; }Percent of pixels after which bubbles considered marked. If present, override global threshold provided during recognition Default value is -1. If default value is set - global value of threshold will be used.
override Type { get; set; }Type of omr element. Required field for JSON serialization.
VerticalPadding { get; set; }Number of additional pixels between each of the bubble On top and the bottom sides default value is 0

See Also