Skip to content

# PDFVisualFormDesigner

Namespace: O2S.Components.PDF4NET.View.Forms

Represents the form designer that is active when the control is in PDFUserInteractionMode.EditFormFields mode.

    public class PDFVisualFormDesigner

Inheritance Object → PDFVisualFormDesigner

## Methods

### AlignBottom()

Aligns the selected forms fields to the bottom using the left edge of the main selected field as reference.

    public void AlignBottom()

### AlignBottom(Double)

Aligns the selected forms fields to the bottom at the specified position.

    public void AlignBottom(double bottom)

Parameters

`bottom` Double
The y coordinate for bottom margin for the selected annotations

### AlignCenter()

Aligns the selected forms fields to the horizontal center using the center of the main selected field as reference.

    public void AlignCenter()

### AlignCenter(Double)

Aligns the selected forms fields to the horizontal center at the specified position.

    public void AlignCenter(double center)

Parameters

`center` Double
The x coordinate for horizontal center for the selected annotations

### AlignLeft()

Aligns the selected forms fields to the left using the left edge of the main selected field as reference.

    public void AlignLeft()

### AlignLeft(Double)

Aligns the selected forms fields to the left at the specified position.

    public void AlignLeft(double left)

Parameters

`left` Double
The x coordinate for left margin for the selected annotations

### AlignMiddle()

Aligns the selected forms fields to the vertical center using the center of the main selected field as reference.

    public void AlignMiddle()

### AlignMiddle(Double)

Aligns the selected forms fields to the vertical center at the specified position.

    public void AlignMiddle(double middle)

Parameters

`middle` Double
The x coordinate for vertical center for the selected annotations

### AlignRight()

Aligns the selected forms fields to the right using the left edge of the main selected field as reference.

    public void AlignRight()

### AlignRight(Double)

Aligns the selected forms fields to the right at the specified position.

    public void AlignRight(double right)

Parameters

`right` Double
The x coordinate for right margin for the selected annotations

### AlignTop()

Aligns the selected forms fields to the left using the top edge of the main selected field as reference.

    public void AlignTop()

### AlignTop(Double)

Aligns the selected forms fields to the top at the specified position.

    public void AlignTop(double top)

Parameters

`top` Double
The y coordinate for top margin for the selected annotations

### CenterHorizontally()

Centers the selected form fields on horizontal.

    public void CenterHorizontally()

Remarks

The set of selected form fields is centered as a whole on horizontal.

### CenterHorizontallyAndVertically()

Centers the selected form fields on horizontal and vertical.

    public void CenterHorizontallyAndVertically()

Remarks

The set of selected form fields is centered as a whole on horizontal and vertical.

### CenterVertically()

Centers the selected form fields on vertical.

    public void CenterVertically()

Remarks

The set of selected form fields is centered as a whole on vertical.

### MatchHeight()

Resizes the selected forms fields so they have the same height as the main selected field.

    public void MatchHeight()

### MatchHeight(Double)

Resizes the selected form fields to given height.

    public void MatchHeight(double height)

Parameters

`height` Double
The new height

### MatchWidth()

Resizes the selected forms fields so they have the same width as the main selected field.

    public void MatchWidth()

### MatchWidth(Double)

Resizes the selected form fields to given width.

    public void MatchWidth(double width)

Parameters

`width` Double
The new width

### MatchWidthAndHeight()

Resizes the selected forms fields so they have the same width and height as the main selected field.

    public void MatchWidthAndHeight()

### MatchWidthAndHeight(Double, Double)

Resizes the selected form fields to given width and height.

    public void MatchWidthAndHeight(double width, double height)

Parameters

`width` Double
The new width

`height` Double
The new height

### SpaceEquallyOnHorizontal()

Arranges the selected fields on horizontal so that the horizontal space between them is equal.

    public void SpaceEquallyOnHorizontal()

Remarks

At least 3 fields need to be selected in order for this method to have effect.

### SpaceEquallyOnVertical()

Arranges the selected fields on vertical so that the vertical space between them is equal.

    public void SpaceEquallyOnVertical()

Remarks

At least 3 fields need to be selected in order for this method to have effect.