iText 8.0.2 API
iText.Commons.Utils.PlaceHolderTextUtil Class Reference

This class is used to generate placeholder text for the examples and tests. More...

Public Types

enum   PlaceHolderTextBy { WORDS, CHARACTERS }
  The enum Place holder text by. More...
 

Static Public Member Functions

static String  GetPlaceHolderText (PlaceHolderTextUtil.PlaceHolderTextBy by, int amount)
  Gets the placeholder text. More...
 

Detailed Description

This class is used to generate placeholder text for the examples and tests.

This class is used to generate placeholder text for the examples and tests. It is not used anywhere in the actual code. This provides a better way than using Lorem Ipsum text as it is more readable.

Member Enumeration Documentation

◆ PlaceHolderTextBy

The enum Place holder text by.

The enum Place holder text by. This enum is used to get the placeholder text by words or by characters

Member Function Documentation

◆ GetPlaceHolderText()

static String iText.Commons.Utils.PlaceHolderTextUtil.GetPlaceHolderText ( PlaceHolderTextUtil.PlaceHolderTextBy  by,
int  amount 
)
inlinestatic

Gets the placeholder text.

Parameters
by if you want to get the placeholder text by words or by characters
amount the number of words or characters
Returns
the placeholder text