3 Eylül 2012 Pazartesi

Itextsharp ParsePdf


    public string ParsePdf(string fileName)
    {
        string text = string.Empty;

        PdfReader reader = new PdfReader(fileName);
        byte[] streanBytes = reader.GetPageContent(1);
        PRTokeniser tokenizer = new PRTokeniser(streanBytes);

        while (tokenizer.NextToken())

            if (tokenizer.TokenType == PRTokeniser.TK_STRING)
            {
                text += tokenizer.StringValue;
            }
        return text;
    }

1 yorum:

  1. This way my buddy Wesley Virgin's biography launches with this SHOCKING and controversial video.

    You see, Wesley was in the military-and shortly after leaving-he unveiled hidden, "MIND CONTROL" secrets that the government and others used to get whatever they want.

    As it turns out, these are the EXACT same methods tons of famous people (especially those who "come out of nothing") and the greatest business people used to become wealthy and successful.

    You've heard that you only use 10% of your brain.

    Mostly, that's because most of your brainpower is UNTAPPED.

    Maybe that expression has even taken place IN YOUR very own mind... as it did in my good friend Wesley Virgin's mind 7 years ago, while riding an unlicensed, trash bucket of a vehicle with a suspended license and with $3 on his banking card.

    "I'm very frustrated with going through life paycheck to paycheck! When will I get my big break?"

    You've been a part of those those questions, ain't it so?

    Your own success story is waiting to start. All you have to do is in YOURSELF.

    Watch Wesley Virgin's Video Now!

    YanıtlaSil