Why does Aspose.PDF ComboBoxField.MultiSelect not work??
ComboBoxField cbx = new ComboBoxField(doc, cbxSize);
cbx.DefaultAppearance.FontSize = fontSize;
cbx.DefaultAppearance.FontName = fontName;
cbx.SetPosition(pointPosition);
cbx.PartialName = partialName;
cbx.TextHorizontalAlignment = horiAlign;
cbx.Editable = editable;
switch (fontColor)
{
case ColorEnum.Color.Black:
cbx.DefaultAppearance.TextColor = System.Drawing.Color.Black;
break;
case ColorEnum.Color.Red:
cbx.DefaultAppearance.TextColor = System.Drawing.Color.Red;
break;
}
foreach (string item in cbxItems)
{
cbx.AddOption(item);
}
cbx.MultiSelect = multiSelectable;
doc.Form.Add(cbx, 1);