text clipping not supported?

When using pdfDoc.Graphics.DrawText and providing a position then a clipping rectangle, I get: "A first chance exception of type ''System.NotSupportedException'' occurred in syncfusion.pdf.base.dll Additional information: ClipRectangle " The system will print when not using a clipping area.

3 Replies

AD Administrator Syncfusion Team November 21, 2005 10:39 PM UTC

And without a rectangle, the alignment properties will not work as everything will just start at the PointF location. i.e. can''t right justify, center, etc. v3.301


AD Administrator Syncfusion Team November 22, 2005 01:52 PM UTC

Hi Greg, 1) In Graphics.DrawText() method, rectangle Clipping is used for clipping the part of the text.I here with attach a sample for your reference. cliprect.zip 2)If your need to align text You can use the method Graphics.DrawMutiText().I here with attach the sample which describes this feature. textalignment.zip Please take a look and let me know if you have any questions. Thanks for your interest with Syncfusion products. Best Regards, Ajish >And without a rectangle, the alignment properties will not work as everything will just start at the PointF location. i.e. can''t right justify, center, etc. > >v3.301


AD Administrator Syncfusion Team November 22, 2005 01:52 PM UTC

Hi Greg, 1) In Graphics.DrawText() method, rectangle Clipping is used for clipping the part of the text.I here with attach a sample for your reference. cliprect.zip 2)If your need to align text You can use the method Graphics.DrawMutiText().I here with attach the sample which describes this feature. textalignment.zip Please take a look and let me know if you have any questions. Thanks for your interest with Syncfusion products. Best Regards, Ajish >And without a rectangle, the alignment properties will not work as everything will just start at the PointF location. i.e. can''t right justify, center, etc. > >v3.301

Loader.
Up arrow icon