CreateBubbleSheet

Presets.CreateBubbleSheet method

Generates a simple bubble sheet with an optional title.

public static void CreateBubbleSheet(string fullPath, int elementsCount, int columns, 
    int answersCount, string title = null, BubbleType bubbleType = BubbleType.Round, 
    BubbleSize bubbleSize = BubbleSize.Normal, GlobalPageSettings settings = null)
ParameterTypeDescription
fullPathStringRelative or absolute path to the generated form image.
elementsCountInt32The total number of questions in the supplemental assessment.
columnsInt32The number of columns to arrange questions into. Use multiple columns to make the sheet more compact.
answersCountInt32The total number of bubbles (answers) for each question.
titleStringOptional title of the bubble sheet.
bubbleTypeBubbleTypeBubble style (optional).
bubbleSizeBubbleSizeSize of bubbles (optional).
settingsGlobalPageSettingsOptional page layout settings.

Examples

var settings = new GlobalPageSettings() { PaperSize = PaperSize.Letter }
Presets.CreateBubbleSheet("bubble_sheet.png", 100, 3, 5, "100 Questions", BubbleType.Square, BubbleSize.ExtraLarge, settings);

See Also