mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-06-28 15:30:17 +08:00
29 lines
986 B
C#
29 lines
986 B
C#
namespace UglyToad.PdfPig.AcroForms.Fields
|
|
{
|
|
using System.Collections.Generic;
|
|
using Tokens;
|
|
|
|
/// <inheritdoc />
|
|
/// <summary>
|
|
/// A set of radio buttons.
|
|
/// </summary>
|
|
public class AcroRadioButtonsField : AcroNonTerminalField
|
|
{
|
|
/// <summary>
|
|
/// The <see cref="AcroButtonFieldFlags"/> which define the behaviour of this button type.
|
|
/// </summary>
|
|
public AcroButtonFieldFlags Flags { get; }
|
|
|
|
/// <inheritdoc />
|
|
/// <summary>
|
|
/// Create a new <see cref="AcroRadioButtonsField"/>.
|
|
/// </summary>
|
|
public AcroRadioButtonsField(DictionaryToken dictionary, string fieldType, AcroButtonFieldFlags fieldFlags,
|
|
AcroFieldCommonInformation information,
|
|
IReadOnlyList<AcroFieldBase> children) :
|
|
base(dictionary, fieldType, (uint)fieldFlags, information, AcroFieldType.RadioButtons, children)
|
|
{
|
|
Flags = fieldFlags;
|
|
}
|
|
}
|
|
} |