iText 9.7.0 API
iText.Forms.Form.Element.IPlaceholderable Interface Reference

A marker interface that specifies that the layout object has placeholder. More...

Inheritance diagram for iText.Forms.Form.Element.IPlaceholderable:
iText.Forms.Form.Element.InputField iText.Forms.Form.Element.TextArea

Public Member Functions

Paragraph  GetPlaceholder ()
  Gets the placeholder paragraph. More...
 
void  SetPlaceholder (Paragraph placeholder)
  Sets the placeholder paragraph. More...
 

Detailed Description

A marker interface that specifies that the layout object has placeholder.

Member Function Documentation

◆ GetPlaceholder()

Paragraph iText.Forms.Form.Element.IPlaceholderable.GetPlaceholder ( )

Gets the placeholder paragraph.

Returns
the placeholder paragraph

Implemented in iText.Forms.Form.Element.InputField, and iText.Forms.Form.Element.TextArea.

◆ SetPlaceholder()

void iText.Forms.Form.Element.IPlaceholderable.SetPlaceholder ( Paragraph  placeholder )

Sets the placeholder paragraph.

Parameters
placeholder the paragraph to be used as placeholder

Implemented in iText.Forms.Form.Element.InputField, and iText.Forms.Form.Element.TextArea.