trichview.com

trichview.support




Re: Save entire document to image file


Return to index


Author

Message

Ken Linder

Posted: 03/23/2003 0:08:58


Thank you so much again.  Here's a little piece of code I added to your to

remove the gridlines from tables.


// turn off grid lines on tables

// if we leave them, they REALY look ugly!

for Itm := 0 to rvEdit.ItemCount - 1 do

begin

   if rvEdit.GetItem(Itm).StyleNo = rvsTable then

   begin

      TRVTableItemInfo(rvEdit.GetItem(Itm)).Options :=

         TRVTableItemInfo(rvEdit.GetItem(Itm)).Options  + [rvtoHideGridLines];

   end;

end;


Run the above code just before saving the BMP and then after, just run the

above code with "- [rvtoHideGridLines]" to turn the grid lines back on.


All the best & Thanks again!

Ken

"Sergey Tkachenko" <[email protected]> wrote:

>> Well, now I get a file but it is not a BMP.  I am not sure what it is...

>:-)

>

>I think it is definitely a metafile :)

%< snip >%





Powered by ABC Amber Outlook Express Converter