Property PageStreamFactory
PageStreamFactory
Gets or sets a factory supplying the output stream for each rendered page.
public Func<int, Stream>? PageStreamFactory { get; set; }
Property Value
Remarks
When set, each page is encoded to its own stream and the output argument of
the render call is left untouched — this is the multi-page path, since no raster format
in scope holds more than one page.
When null, only the first selected page is written, to the render call's stream. That is the single-page convenience path, and it is what makes the renderer usable through the plain ILayoutRenderer seam, whose signature has exactly one stream.