PeachPDF
PeachPDF.Layout.IFileLayerDescriptor
IFileLayerDescriptor.File Method
| Overloads | |
|---|---|
| File(byte[]) | Takes the layer’s pages from the bytes of a PDF file. |
| File(string) | Takes the layer’s pages from the PDF file at path, read when the document is built. |
| File(Stream) | Takes the layer’s pages from a PDF file read from pdf, which is read to the end when the document is built and not closed. |
IFileLayerDescriptor.File(byte[]) Method
Takes the layer’s pages from the bytes of a PDF file.
PeachPDF.Layout.IFileLayerDescriptor File(byte[] pdf);
Parameters
pdf System.Byte[]
Returns
IFileLayerDescriptor.File(string) Method
Takes the layer’s pages from the PDF file at path, read when the document is built.
PeachPDF.Layout.IFileLayerDescriptor File(string path);
Parameters
path System.String
Returns
IFileLayerDescriptor.File(Stream) Method
Takes the layer’s pages from a PDF file read from pdf, which is read to the end when the document is built and not closed.
PeachPDF.Layout.IFileLayerDescriptor File(System.IO.Stream pdf);
Parameters
pdf System.IO.Stream