iTextSharp.text.pdf.PdfAcroForm.SetTextFieldParams C# (CSharp) Метод

SetTextFieldParams() публичный Метод

public SetTextFieldParams ( PdfFormField field, string text, string name, float llx, float lly, float urx, float ury ) : void
field PdfFormField
text string
name string
llx float
lly float
urx float
ury float
Результат void
        public void SetTextFieldParams(PdfFormField field, string text, string name, float llx, float lly, float urx, float ury)
        {
            field.SetWidget(new Rectangle(llx, lly, urx, ury), PdfAnnotation.HIGHLIGHT_INVERT);
            field.ValueAsString = text;
            field.DefaultValueAsString = text;
            field.FieldName = name;
            field.Flags = PdfAnnotation.FLAGS_PRINT;
            field.SetPage();
        }