Read from XML reader.

Namespace: TallComponents.PDF.Layout
Assembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0

Syntax

C#
public override void Read(
	XmlReader reader
)
Visual Basic
Public Overrides Sub Read ( _
	reader As XmlReader _
)

Parameters

reader
Type: System.Xml..::..XmlReader
The XML reader that holds the data from which this layout object is read.

Remarks

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.

See Also