get_stream method

get_stream

Provides a stream for rendering.

Returns

A Stream object that is used for writing data during the rendering operations.

def get_stream(self, name, extension):
    ...
ParameterTypeDescription
namestrThe name of the stream.
extensionstrThe file name extension to use if a file stream is being created.

get_stream

Provides a stream for rendering.

Returns

A Stream object that is used for writing data during the rendering operations.

def get_stream(self, name, extension, page):
    ...
ParameterTypeDescription
namestrThe name of the stream.
extensionstrThe file name extension to use if a file stream is being created.
pageintThe page number of the document.

See Also