Table of Contents

Method AddListBox

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

AddListBox(PdfPoint, PdfSize)

Adds the new list box control with auto-generated name to the PdfPage.

public PdfListBox AddListBox(PdfPoint position, PdfSize size)

Parameters

position PdfPoint

The position of the upper-left corner of the list box.

size PdfSize

The size of the list box.

Returns

PdfListBox

The newly created PdfListBox object.

Remarks

The Rotation of the new list box is set to the rotation (Rotation) of the owner page.

AddListBox(PdfRectangle)

Adds the new list box control with auto-generated name to the PdfPage.

public PdfListBox AddListBox(PdfRectangle boundingBox)

Parameters

boundingBox PdfRectangle

The PdfRectangle structure that specifies the location and the size of the list box.

Returns

PdfListBox

The newly created PdfListBox object.

Remarks

The Rotation of the new list box is set to the rotation (Rotation) of the owner page.

AddListBox(double, double, double, double)

Adds the new list box control with auto-generated name to the PdfPage.

public PdfListBox AddListBox(double left, double top, double width, double height)

Parameters

left double

The x-coordinate of the upper-left corner of the list box.

top double

The y-coordinate of the upper-left corner of the list box.

width double

The width of the list box.

height double

The height of the list box.

Returns

PdfListBox

The newly created PdfListBox object.

Remarks

The Rotation of the new list box is set to the rotation (Rotation) of the owner page.

AddListBox(string?, PdfPoint, PdfSize)

Adds the new list box control with specified unique name to the PdfPage.

public PdfListBox AddListBox(string? name, PdfPoint position, PdfSize size)

Parameters

name string

The unique name of the list box control.

position PdfPoint

The position of the upper-left corner of the list box.

size PdfSize

The size of the list box.

Returns

PdfListBox

The newly created PdfListBox object.

Remarks

The Rotation of the new list box is set to the rotation (Rotation) of the owner page.

AddListBox(string?, PdfRectangle)

Adds the new list box control with specified unique name to the PdfPage.

public PdfListBox AddListBox(string? name, PdfRectangle boundingBox)

Parameters

name string

The unique name of the list box control.

boundingBox PdfRectangle

The PdfRectangle structure that specifies the location and the size of the list box.

Returns

PdfListBox

The newly created PdfListBox object.

Remarks

The Rotation of the new list box is set to the rotation (Rotation) of the owner page.

AddListBox(string?, double, double, double, double)

Adds the new list box control with specified unique name to the PdfPage.

public PdfListBox AddListBox(string? name, double left, double top, double width, double height)

Parameters

name string

The unique name of the list box control.

left double

The x-coordinate of the upper-left corner of the list box.

top double

The y-coordinate of the upper-left corner of the list box.

width double

The width of the list box.

height double

The height of the list box.

Returns

PdfListBox

The newly created PdfListBox object.

Remarks

The Rotation of the new list box is set to the rotation (Rotation) of the owner page.