mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
also changes pages to use a proper tree structure since this will be required for resource inheritance and for acroform widget dictionaries.
27 lines
879 B
C#
27 lines
879 B
C#
namespace UglyToad.PdfPig.AcroForms.Fields
|
|
{
|
|
using Tokens;
|
|
|
|
/// <inheritdoc />
|
|
/// <summary>
|
|
/// A set of radio buttons.
|
|
/// </summary>
|
|
public class AcroRadioButtonsField : AcroFieldBase
|
|
{
|
|
/// <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) :
|
|
base(dictionary, fieldType, (uint)fieldFlags, AcroFieldType.RadioButton, information)
|
|
{
|
|
Flags = fieldFlags;
|
|
}
|
|
}
|
|
} |