PsDocument.PsDocument

PsDocument(Stream, PsSaveOptions)

Initializes empty PsDocument with initialized page.

public PsDocument(Stream outPsStream, PsSaveOptions options)
ParameterTypeDescription
outPsStreamStreamStream where to save PS/EPS file.
optionsPsSaveOptionsA set of parameters controlling saving of PostScript file.

See Also


PsDocument(Stream, PsSaveOptions, bool)

Initializes empty PsDocument.

public PsDocument(Stream outPsStream, PsSaveOptions options, bool multipaged)
ParameterTypeDescription
outPsStreamStreamStream where to save PS/EPS file.
optionsPsSaveOptionsA set of parameters controlling saving of PostScript file.
multipagedBooleanIf false page will not be initialized. In this case page initialization should be performed via explicit “openPage(width, height) call.

See Also


PsDocument(Stream, PsSaveOptions, int)

Initializes empty PsDocument when the number of Postscript document pages is known in advance.

public PsDocument(Stream outPsStream, PsSaveOptions options, int numberOfPages)
ParameterTypeDescription
outPsStreamStreamStream where to save PS/EPS file.
optionsPsSaveOptionsA set of parameters controlling saving of PostScript file.
numberOfPagesInt32The number of pages in the PostScript document.

See Also


PsDocument(string)

Initializes PsDocument with an input PS/EPS file.

public PsDocument(string psFilePath)
ParameterTypeDescription
psFilePathStringPS/EPS file path.

See Also


PsDocument(Stream)

Initializes PsDocument with a stream of PS/EPS file.

public PsDocument(Stream inPsStream)
ParameterTypeDescription
inPsStreamStreamInput stream of PS/EPS file.

See Also