PdfLayer l2 = new PdfLayer("Layer 2", writer);
PdfLayer l3 = new PdfLayer("Layer 3", writer);
PdfLayer l4 = new PdfLayer("Form and XObject Layer", writer);
PdfLayerMembership m1 = new PdfLayerMembership(writer);
m1.addMember(l2);
m1.addMember(l3);
LwgPhrase p1 = new LwgPhrase("Text in layer 1");
LwgPhrase p2 = new LwgPhrase("Text in layer 2 or layer 3");
LwgPhrase p3 = new LwgPhrase("Text in layer 3");
cb.beginLayer(l1);
ColumnText.showTextAligned(cb, LwgElement.ALIGN_LEFT, p1, 50, 600, 0f);