XpsDevice constructor

init

Creates a new instance. The output file will be written to the output working directory taking the job name as a file name.

def __init__(self):
    ...

init

Creates a new instance. The output file will be written to specified stream.

def __init__(self, stream):
    ...
ParameterTypeDescription
streamio.RawIOBaseThe stream to write the output file to.

See Also