iTextSharp.text.pdf.collection.PdfCollection.PdfCollection C# (CSharp) Method

PdfCollection() public method

public PdfCollection ( int type ) : System
type int
return System
        public PdfCollection(int type)
            : base(PdfName.COLLECTION)
        {
            switch(type) {
            case TILE:
                Put(PdfName.VIEW, PdfName.T);
                break;
            case HIDDEN:
                Put(PdfName.VIEW, PdfName.H);
                break;
            case CUSTOM:
                Put(PdfName.VIEW, PdfName.C);
                break;
            default:
                Put(PdfName.VIEW, PdfName.D);
                break;
            }
        }
PdfCollection