CrossReference Constructor (ContentElement)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the CrossReference class. A link to the content area generated by processing the target element will be generated, so user will be able to navigate there if his PDF reader app supports links.

References created using ContentElement rather than its Id won't be written to XML in case of using SaveToXml(Stream, ResourceManager).

Namespace:  Apitron.PDF.Kit.FlowLayout.Navigation
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public CrossReference(
	ContentElement element
)

Parameters

element
Type: Apitron.PDF.Kit.FlowLayoutContentElement
The destination element.
Exceptions

ExceptionCondition
ArgumentNullExceptionelement
Remarks

Examples

C#
TextBlock textBlock = new TextBlock("linked element on a second page");
...
CrossReference reference = new CrossReference(textBlock);
See Also

Reference