setPageEvent not available.

View: New views
2 Messages — Rating Filter:   Alert me  

setPageEvent not available.

by MaMani :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello All,

I tried to set an event for the PDFWriter class and as per the tutorial (
http://itextsharp.sourceforge.net/tutorial/ch12.html#openclose) ,
SetPageEvent is the method to do that.

But that method is not included in the writer class. I'm using the version
4.1.6.0.

Can anyone please explain me why?

What's the latest version of iTextSharp available?

Final question, Is there any way to change the font of Header?


Thanks.

Cheers,
Mathavan.M


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
itextsharp-questions mailing list
itextsharp-questions@...
https://lists.sourceforge.net/lists/listinfo/itextsharp-questions

Re: setPageEvent not available.

by Paulo Soares-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That tutorial is completely outdated. See the Java examples at http://1t3xt.info/examples/browse/index.php and adapt them to C# changing the get/set in Java to properties in C#. In this particular case it would be:

writer.PageEvent = event;

Paulo

> -----Original Message-----
> From: MaMani@... [mailto:MaMani@...]
> Sent: Tuesday, September 01, 2009 12:00 PM
> To: itextsharp-questions@...
> Subject: [itextsharp-questions] setPageEvent not available.
>
>
> Hello All,
>
> I tried to set an event for the PDFWriter class and as per
> the tutorial (
> http://itextsharp.sourceforge.net/tutorial/ch12.html#openclose) ,
> SetPageEvent is the method to do that.
>
> But that method is not included in the writer class. I'm
> using the version
> 4.1.6.0.
>
> Can anyone please explain me why?
>
> What's the latest version of iTextSharp available?
>
> Final question, Is there any way to change the font of Header?
>
>
> Thanks.
>
> Cheers,
> Mathavan.M

Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
itextsharp-questions mailing list
itextsharp-questions@...
https://lists.sourceforge.net/lists/listinfo/itextsharp-questions