Table of Contents

Class PdfAppearance

Namespace
iTextSharp.text.pdf
Assembly
iTextSharp.LGPLv2.Core.dll

Implements the appearance stream to be used with form fields..

public class PdfAppearance : PdfTemplate
Inheritance
PdfAppearance
Inherited Members

Fields

StdFieldFontNames

public static INullValueDictionary<string, PdfName> StdFieldFontNames

Field Value

INullValueDictionary<string, PdfName>

Properties

Duplicate

public override PdfContentByte Duplicate { get; }

Property Value

PdfContentByte

Methods

CreateAppearance(PdfWriter, float, float)

Creates a new appearance to be used with form fields.

public static PdfAppearance CreateAppearance(PdfWriter writer, float width, float height)

Parameters

writer PdfWriter
width float

the bounding box width

height float

the bounding box height

Returns

PdfAppearance

the appearance created

SetFontAndSize(BaseFont, float)

Set the font and the size for the subsequent text writing.

public override void SetFontAndSize(BaseFont bf, float size)

Parameters

bf BaseFont

the font

size float

the font size in points