Table of Contents

Class RtfAnchor

Namespace
iTextSharp.text.rtf.field
Assembly
iTextSharp.LGPLv2.Core.dll

@version \(Version:\) @author Mark Hall (Mark.Hall@mail.room3b.eu)

public class RtfAnchor : RtfField, IElement, IRtfBasicElement, IRtfElementInterface
Inheritance
RtfAnchor
Implements
Inherited Members

Constructors

RtfAnchor(RtfDocument, Anchor)

Constructs a RtfAnchor based on a RtfField

public RtfAnchor(RtfDocument doc, Anchor anchor)

Parameters

doc RtfDocument

The RtfDocument this RtfAnchor belongs to

anchor Anchor

The Anchor this RtfAnchor is based on

Methods

WriteFieldInstContent(Stream)

Write the field instructions for this RtfAnchor. Sets the field type to HYPERLINK and then writes the url. @throws IOException

protected override void WriteFieldInstContent(Stream oupt)

Parameters

oupt Stream

WriteFieldResultContent(Stream)

Write the field result for this RtfAnchor. Writes the content of the RtfPhrase.

protected override void WriteFieldResultContent(Stream oupt)

Parameters

oupt Stream