'Declaration
Public Overloads Function SaveAsPDF( _ ByVal Stream As Stream, _ Optional ByVal Conformance As PdfConformance _ ) As GdPictureStatus
public GdPictureStatus SaveAsPDF( Stream Stream, PdfConformance Conformance )
public function SaveAsPDF( Stream: Stream; Conformance: PdfConformance ): GdPictureStatus;
public function SaveAsPDF( Stream : Stream, Conformance : PdfConformance ) : GdPictureStatus;
public: GdPictureStatus SaveAsPDF( Stream* Stream, PdfConformance Conformance )
public: GdPictureStatus SaveAsPDF( Stream^ Stream, PdfConformance Conformance )
Parameters
- Stream
- A stream object where the current document is saved to as a PDF document. This output stream must be initialized before it can be sent into this method and it should stay open for subsequent use.
If the output stream is not opened for writing, the method will fail returning the GdPictureStatus.InvalidParameter status.
- Conformance
- A member of the PdfConformance enumeration. Specifies the required conformance to the PDF or PDF/A standard of the saved PDF document.
You can use the value of the PdfConformance.PDF to save the file as a common PDF document.