Method Write
Namespace TallComponents.PDF.Layout
Class Document
Write document in Event-Driven mode (pull) to HttpResponse. Document is read from an XML reader.
Sets the following headers:
HeaderValueContentTypeapplication/pdfContentEncodingUTF8
It is the responsibility of the client (caller) to Flush and Close the .
Please check the turorial on differences in the Push (normal) and Pull (low resource, event driven) mode generation. There are some features that change behavior when using Pull-mode.
Syntax
public Void Write(XmlReader reader, HttpResponse response)
Returns
Void
Parameters
XmlReader
reader
XML specification of the document content.
HttpResponse
response
The HttpResponse to write to.