iText 5

FdfWriter (1)

FdfWriter Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf iTextSharp.text.pdf.FdfWriter[[FdfWriter]] end

Members

Properties

Public properties

Type

Name

Methods

string

File

get, set

string

StatusMessage

get, set

Methods

Public methods

Returns

Name

PdfTemplate

CreateTemplate

(float width, float height)

string

GetField

(string field)

Dictionary<string, object>

GetFields

()

PdfImportedPage

GetImportedPage

(

PdfReader

reader, int pageNumber)

bool

RemoveField

(string field)

bool

SetFieldAsAction

(string field,

PdfAction

action)

bool

SetFieldAsImage

(string field,

Image

image)

bool

SetFieldAsJavascript

(string field,

PdfName

jsTrigName, string js)

bool

SetFieldAsName

(string field, string value)

bool

SetFieldAsString

(string field, string value)

bool

SetFieldAsTemplate

(string field,

PdfTemplate

template)

void

SetFields

(...)

void

Write

()

void

WriteTo

(Stream os)

Internal methods

Returns

Name

void

IterateFields

(Dictionary<string, object> values, Dictionary<string, object> map, string name)

bool

SetField

(string field,

PdfObject

value)

Protected methods

Returns

Name

ICounter

GetCounter

()

Details

Nested types

Classes
  • Wrt

Constructors

FdfWriter [1/2]

Source code

public FdfWriter()

FdfWriter [2/2]

Source code

public FdfWriter(Stream os)

Arguments

Type

Name

Description

Stream

os

Methods

WriteTo

Source code

public virtual void WriteTo(Stream os)

Arguments

Type

Name

Description

Stream

os

Write

Source code

public virtual void Write()

SetField

Source code

internal bool SetField(string field, PdfObject value)

Arguments

Type

Name

Description

string

field

PdfObject

value

IterateFields

Source code

internal void IterateFields(Dictionary<string, object> values, Dictionary<string, object> map, string name)

Arguments

Type

Name

Description

Dictionary<string, object>

values

Dictionary<string, object>

map

string

name

RemoveField

Source code

public virtual bool RemoveField(string field)

Arguments

Type

Name

Description

string

field

GetFields

Source code

public virtual Dictionary<string, object> GetFields()

GetField

Source code

public virtual string GetField(string field)

Arguments

Type

Name

Description

string

field

SetFieldAsName

Source code

public virtual bool SetFieldAsName(string field, string value)

Arguments

Type

Name

Description

string

field

string

value

SetFieldAsString

Source code

public virtual bool SetFieldAsString(string field, string value)

Arguments

Type

Name

Description

string

field

string

value

SetFieldAsAction

Source code

public virtual bool SetFieldAsAction(string field, PdfAction action)

Arguments

Type

Name

Description

string

field

PdfAction

action

SetFieldAsTemplate

Source code

public virtual bool SetFieldAsTemplate(string field, PdfTemplate template)

Arguments

Type

Name

Description

string

field

PdfTemplate

template

SetFieldAsImage

Source code

public virtual bool SetFieldAsImage(string field, Image image)

Arguments

Type

Name

Description

string

field

Image

image

SetFieldAsJavascript

Source code

public virtual bool SetFieldAsJavascript(string field, PdfName jsTrigName, string js)

Arguments

Type

Name

Description

string

field

PdfName

jsTrigName

string

js

GetImportedPage

Source code

public virtual PdfImportedPage GetImportedPage(PdfReader reader, int pageNumber)

Arguments

Type

Name

Description

PdfReader

reader

int

pageNumber

CreateTemplate

Source code

public virtual PdfTemplate CreateTemplate(float width, float height)

Arguments

Type

Name

Description

float

width

float

height

SetFields [1/3]

Source code

public virtual void SetFields(FdfReader fdf)

Arguments

Type

Name

Description

FdfReader

fdf

SetFields [2/3]

Source code

public virtual void SetFields(PdfReader pdf)

Arguments

Type

Name

Description

PdfReader

pdf

SetFields [3/3]

Source code

public virtual void SetFields(AcroFields af)

Arguments

Type

Name

Description

AcroFields

af

GetCounter

Source code

protected virtual ICounter GetCounter()

Properties

StatusMessage

public virtual string StatusMessage { get; set; }

File

public virtual string File { get; set; }

Generated with ModularDoc