M_PDFiumSharp_PDFium_FPDF_SaveAsCopy_1 - ArgusMagnus/PDFiumSharp GitHub Wiki
Saves a PDF document to a stream.
Namespace: PDFiumSharp
Assembly: PDFiumSharp (in PDFiumSharp.dll) Version: 1.0.0
C#
public static bool FPDF_SaveAsCopy(
FPDF_DOCUMENT document,
Stream stream,
SaveFlags flags,
int version = 0
)
- document
- Type: PDFiumSharp.Types.FPDF_DOCUMENT
- stream
- Type: System.IO.Stream
- flags
- Type: PDFiumSharp.SaveFlags
- version (Optional)
- Type: System.Int32
The new PDF file version of the saved file. 14 for 1.4, 15 for 1.5, etc. Values smaller than 10 are ignored.
Type: Boolean
PDFium Class
FPDF_SaveAsCopy Overload
PDFiumSharp Namespace
PDFium.FPDF_SaveAsCopy(FPDF_DOCUMENT, FPDF_FILEWRITE, SaveFlags)
PDFium.FPDF_SaveWithVersion(FPDF_DOCUMENT, FPDF_FILEWRITE, SaveFlags, Int32)