|
|
|
General
|
Symbol Substitution
In this example , we are going to explain how we can make symbols using iText api,s. We are using integer values which will converted it into symbol. For this we just convert the integer value into its character value.
View Rating |
|
|
General
|
Make Paragraph and Set Alignment
In this example , we are going to explain how we can make paragraph and how we can gives various alignment. To make a paragraph we use Paragraph("Text") constructor . To gives alignment we use setAlignment(int alignment).
View Rating |
|
|
General
|
Negative Leading
In negative leading you will learn how we can overlap a text using negative and positive leading values in Phrase constructor. You can make shadow of any text. For this you have just change the values of the leading in Phrase constructor and the text.
View Rating |
|
|
General
|
Measure Of Width
In this section, you will learn how we can measure the width of the page. iText api provides a getWidthPoint() to know the width of the page. The width will be in centimeters or inches.
View Rating |
|
|
General
|
End of line
In this section, you will learn how to make a program by which you can define the strokeWidth and strokeColor. You can learn also to change the outline of the text. You can define the width and the color of the strokes used to draw the character. iText ap
View Rating |
|
|
General
|
Uses Of Chunk Object
In this section, you will learn how we can change the background color and how we can create the subscript and superscript. iText api provides a setTextrise(float value1) and setBackground(Color color) method to set the position of text and to set the
View Rating |
|
|
General
|
Creating the Subscript and Superscript
In this section, you will learn how we can create the subscript and superscript. iText api provides a setTextrise(float value1) method to set the position of text. We can set float value as positive or negative .Positive value is used for Superscript
View Rating |
|
|
General
|
Skewing Text
In this section, you will learn how to make a program by which you can set skew in for chunk. iText api provides a method setSkew(float value1,float value2).This method is used in palce of italic font.
View Rating |
|
|
General
|
Phrase
In this section, you will learn how to design some text according to our need by use of Phrase. We can format our pdf by using Phrase() constructor.
View Rating |
|
|