M_PDFiumSharp_PdfDocument_Save - ArgusMagnus/PDFiumSharp GitHub Wiki

PdfDocument.Save Method (Stream, SaveFlags, Int32)

Saves the PdfDocument to a stream.

Namespace: PDFiumSharp
Assembly: PDFiumSharp (in PDFiumSharp.dll) Version: 1.0.0

Syntax

C#

public bool Save(
	Stream stream,
	SaveFlags flags = SaveFlags.None,
	int version = 0
)

Parameters

 

stream
Type: System.IO.Stream
flags (Optional)
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.

Return Value

Type: Boolean

See Also

Reference

PdfDocument Class
Save Overload
PDFiumSharp Namespace

⚠️ **GitHub.com Fallback** ⚠️