mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-08-20 09:00:07 +08:00
included embedded files api in readme
adds section describing use of new embedded files api. resizes documentation image to be smaller.
This commit is contained in:
parent
16c3322cce
commit
66fc244083
12
README.md
12
README.md
@ -276,6 +276,18 @@ The classes used to work with TrueType fonts in the PDF file are now available f
|
|||||||
|
|
||||||
The parsed font can then be inspected.
|
The parsed font can then be inspected.
|
||||||
|
|
||||||
|
### Embedded Files (0.1.0) ###
|
||||||
|
|
||||||
|
PDF files may contain other files entirely embedded inside them for document annotations. The list of embedded files and their byte content may be accessed:
|
||||||
|
|
||||||
|
if (document.Advanced.TryGetEmbeddedFiles(out IReadOnlyList<EmbeddedFile> files)
|
||||||
|
&& files.Count > 0)
|
||||||
|
{
|
||||||
|
var firstFile = files[0];
|
||||||
|
string name = firstFile.Name;
|
||||||
|
IReadOnlyList<byte> bytes = firstFile.Bytes;
|
||||||
|
}
|
||||||
|
|
||||||
## Issues ##
|
## Issues ##
|
||||||
|
|
||||||
At this stage the software is in Alpha. In order to proceed to Beta and production we need to see a wide variety of document types.
|
At this stage the software is in Alpha. In order to proceed to Beta and production we need to see a wide variety of document types.
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 22 KiB |
Loading…
Reference in New Issue
Block a user