[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.Section.DrawCanvas.DrawTextInputField

DrawTextInputField Method

DrawTextInputField(RectangleF, string, bool, bool, InputBorderStyle, float, Color, int, bool, bool, bool, InputTextAlign, string[])

Draws a text input field on the canvas.

Declaration
public void DrawTextInputField(RectangleF bounds, string fieldName, bool readOnly, bool required, InputBorderStyle borderStyle, float borderWidth, Color borderColor, int maxLength, bool multiline, bool password, bool spellCheck, InputTextAlign alignment, string[] textArray)
Parameters
Type Name Description
RectangleF bounds

The bounding rectangle of the input field.

string fieldName

The name of the input field.

bool readOnly

Indicates whether the field is read-only.

bool required

Indicates whether the field is required.

InputBorderStyle borderStyle

The style of the input field border.

float borderWidth

The width of the input field border.

Color borderColor

The color of the input field border.

int maxLength

The maximum number of characters allowed in the input field.

bool multiline

Indicates whether the input field supports multiple lines.

bool password

Indicates whether the input field is for password entry.

bool spellCheck

Indicates whether spell check is enabled.

InputTextAlign alignment

The text alignment within the input field.

string[] textArray

The array of text lines to be displayed in the input field.

DrawTextInputField(RectangleF, string, bool, bool, InputBorderStyle, float, Color, int, bool, bool, bool, InputTextAlign, string[], int)

Draws a text input field on the canvas with a specified tab index.

Declaration
public void DrawTextInputField(RectangleF bounds, string fieldName, bool readOnly, bool required, InputBorderStyle borderStyle, float borderWidth, Color borderColor, int maxLength, bool multiline, bool password, bool spellCheck, InputTextAlign alignment, string[] textArray, int tabIndex)
Parameters
Type Name Description
RectangleF bounds

The bounding rectangle of the input field.

string fieldName

The name of the input field.

bool readOnly

Indicates whether the field is read-only.

bool required

Indicates whether the field is required.

InputBorderStyle borderStyle

The style of the input field border.

float borderWidth

The width of the input field border.

Color borderColor

The color of the input field border.

int maxLength

The maximum number of characters allowed in the input field.

bool multiline

Indicates whether the input field supports multiple lines.

bool password

Indicates whether the input field is for password entry.

bool spellCheck

Indicates whether spell check is enabled.

InputTextAlign alignment

The text alignment within the input field.

string[] textArray

The array of text lines to be displayed in the input field.

int tabIndex

The tab index of the input field.