However i try to add a graphic to my richview it seems the image has a transparent border.
Like Border=0 in html.
Can somebody help ?
mfg CoLT
How can i insert Pictures without Border
-
- Site Admin
- Posts: 17565
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
I looked at the suggested help but I still can't figure out where in my code I can set that image spacing value to zero. I insert pictures with 'rvActionInsertPicture1Execute'. Thanks in advance for hints.Sergey Tkachenko wrote:By default, pictures in TRichView have spacing around them (1 pixels)
It can be removed (set to 0), see rvepSpacing in the help topic about TRVExtraItemProperty type
-
- Site Admin
- Posts: 17565
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Ok Sergey thanks but let me clarify my problem :Sergey Tkachenko wrote:TrvActionInsertPicture cannot set spacing around the inserted image.
It will be added in the next update (new Spacing property will be added to the action).
Each time I insert an image, I have to right-click on it, choose 'Object Properties' from the menu, switch to the 'Layout' tab and set the 'Spacing' value from 1 to 0.
All I want to do is change that value so that it is 0 by default. How can I code that?
Thanks
-
- Site Admin
- Posts: 17565
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
YES !Sergey Tkachenko wrote:To insert picture without spacing in code, call SetCurrentItemExtraIntProperty(rvepSpacing, 0, True) after InsertPicture.
In the current version of RichViewActions, TrvActionInsertPicture does not change spacing around the inserted picture, so it is set to default value (1).
Thank you for your always timely and crystal clear replies. Owesome!
Dan