Table of Contents

Class Form

Namespace
PDFjet.NET
Assembly
PDFjet.dll

Please see Example_44

public class Form : IDrawable
Inheritance
Form
Implements
Inherited Members

Constructors

Form(List<Field>)

Creates a Form object

public Form(List<Field> fields)

Parameters

fields List<Field>

the fields contained in this form

Methods

DrawOn(Page)

Draws this Form on the specified page.

public float[] DrawOn(Page page)

Parameters

page Page

the page to draw this form on.

Returns

float[]

x and y coordinates of the bottom right corner of this component.

Exceptions

Exception

If an input or output exception occurred

SetLabelColor(int)

Sets the label color Color.transparent leaves it unchanged.

public Form SetLabelColor(int labelColor)

Parameters

labelColor int

the label color as a 0xRRGGBB value, for example Color.black.

Returns

Form

the form

SetLabelColor(float[])

Sets the label color

public Form SetLabelColor(float[] labelColor)

Parameters

labelColor float[]

the label color

Returns

Form

the form

SetLabelFont(Font)

Sets the font for the label

public Form SetLabelFont(Font f1)

Parameters

f1 Font

the font

Returns

Form

this form

SetLabelFontSize(float)

Sets the size for the label font

public Form SetLabelFontSize(float labelFontSize)

Parameters

labelFontSize float

the label font size

Returns

Form

the form

SetLocation(float, float)

Sets the location of this form on the page

public Form SetLocation(float x, float y)

Parameters

x float

the horizontal location

y float

the vertical locations

Returns

Form

the form

SetStrokeWidth(float)

Sets the stroke width

public Form SetStrokeWidth(float strokeWidth)

Parameters

strokeWidth float

the stroke width

Returns

Form

this form

SetValueColor(int)

Sets the color for the value Color.transparent leaves it unchanged.

public Form SetValueColor(int valueColor)

Parameters

valueColor int

the value color as a 0xRRGGBB value, for example Color.blue.

Returns

Form

the form

SetValueColor(float[])

Sets the color for the value

public Form SetValueColor(float[] valueColor)

Parameters

valueColor float[]

the value color

Returns

Form

the form

SetValueFont(Font)

Sets the font for the value

public Form SetValueFont(Font f2)

Parameters

f2 Font

the value font

Returns

Form

the form

SetValueFontSize(float)

Sets the size for the value font

public Form SetValueFontSize(float valueFontSize)

Parameters

valueFontSize float

the font size

Returns

Form

the form

SetWidth(float)

Sets the width of this form.

public Form SetWidth(float width)

Parameters

width float

the width of this form

Returns

Form

this form