mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-20 20:07:57 +08:00
#24 make some fields public
This commit is contained in:
@@ -31,5 +31,15 @@
|
||||
|
||||
Assert.Throws<ObjectDisposedException>(action);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void GetsAllFormFields()
|
||||
{
|
||||
using (var document = PdfDocument.Open(GetFilename(), new ParsingOptions { UseLenientParsing = false }))
|
||||
{
|
||||
var form = document.GetForm();
|
||||
Assert.Equal(16, form.Fields.Count);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user