mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-14 19:05:01 +08:00
update readme and make page dictionary public
This commit is contained in:
@@ -15,7 +15,10 @@
|
||||
/// </summary>
|
||||
public class Page
|
||||
{
|
||||
private readonly DictionaryToken dictionary;
|
||||
/// <summary>
|
||||
/// The raw PDF dictionary token for this page in the document.
|
||||
/// </summary>
|
||||
public DictionaryToken Dictionary { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The page number (starting at 1).
|
||||
@@ -72,7 +75,7 @@
|
||||
throw new ArgumentOutOfRangeException(nameof(number), "Page number cannot be 0 or negative.");
|
||||
}
|
||||
|
||||
this.dictionary = dictionary ?? throw new ArgumentNullException(nameof(dictionary));
|
||||
Dictionary = dictionary ?? throw new ArgumentNullException(nameof(dictionary));
|
||||
|
||||
Number = number;
|
||||
MediaBox = mediaBox;
|
||||
|
Reference in New Issue
Block a user