PdfDocument Constructor (Stream)

PDF File Writer

PdfDocument Constructor (Stream)

PDF document constructor.

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public PdfDocument(
	Stream Stream
)

Parameters

Stream
Type: System.IOStream
File or memory stream.
Remarks

This constructor generates a document with default letter size page (height 11”, width 8.5”).

Page orientation is portrait.

Unit of measure is points (1/72 inch).

Scale factor is 1.0.

The PDF document will be saved in the stream argument. The stream can be either a MemoryStream or a FileStream. It is the calling program responsibiliy to close the stream after CreateFile() method is called.

See Also