Picture and Table resize out of page border

General TRichView support forum. Please post your questions here
Post Reply
pawnflakes
Posts: 49
Joined: Thu Jan 03, 2008 6:11 pm
Location: South-Africa

Picture and Table resize out of page border

Post by pawnflakes »

Hi Sergey

I am able to resize Pictures and Tables outside the right page border - how can I prevent this?

Thank You
Sergey Tkachenko
Site Admin
Posts: 17317
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Try processing OnItemResize and call Undo if necessary.
pawnflakes
Posts: 49
Joined: Thu Jan 03, 2008 6:11 pm
Location: South-Africa

Picture and Table resize out of page border

Post by pawnflakes »

Hi Sergey

Do you have a demo on how this can be accomplished as there's not much information on how this can be done? I don't want tables and pictures to be resized over the document margins..

Thank You
Sergey Tkachenko
Site Admin
Posts: 17317
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Do you use TRichView or ScaleRichView?
pawnflakes
Posts: 49
Joined: Thu Jan 03, 2008 6:11 pm
Location: South-Africa

Picture and Table resize out of page border

Post by pawnflakes »

DBSRichviewEdit
Sergey Tkachenko
Site Admin
Posts: 17317
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Ilya said that he will add an option to restrict item resizing in the next update of ScaleRichView.
proxy3d
ScaleRichView Developer
Posts: 307
Joined: Mon Aug 07, 2006 9:37 am

Post by proxy3d »

It is added. In the following updating SRV there is global variable SRVItemResizeMode.

Mode:
srvrsUnrestricted, srvrsTextArea, srvrsPageWidth
pawnflakes
Posts: 49
Joined: Thu Jan 03, 2008 6:11 pm
Location: South-Africa

Post by pawnflakes »

Hi

I have added SRVItemResizeMode:= srvrsTextArea; in the OnFormCreate section and I am still able to resize a table outside the border?
pawnflakes
Posts: 49
Joined: Thu Jan 03, 2008 6:11 pm
Location: South-Africa

Post by pawnflakes »

Resizing pictures works properly but not for tables.
Sergey Tkachenko
Site Admin
Posts: 17317
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Yes, it is possible to resize tables outside the text area. But it is possible in MS Word as well.
Post Reply