Method Read
Namespace TallComponents.PDF.Layout
Class Document
Read from XML reader.
This override checks that the document node is correct (node name = "document") as otherwise errors are given that are unclear (if a incorrect xml is provided for example.
Override this method to implement custom XML reading. When called, the reader should be positioned on the start element associated with the type. When the method finishes, the reader must be positioned on the first XML node after the end element (i.e. make sure you consume the end element).
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 Read(XmlReader reader)
Returns
Void
Parameters
XmlReader
reader