Subject | Re: [IBO] Problems with strech (JPEGImage) |
---|---|
Author | Popa Ovidiu Razvan |
Post date | 2007-10-29T09:45:27Z |
--- In IBObjects@yahoogroups.com, "Jason Wharton" <supportlist@...>
wrote:
wrote:
>they make
> > At 09:24 PM 26/10/2007, you wrote:
> > >Hi
> > >I am using TIB_JPEGImage for showing some picture.
> > >My problem is.
> > >I set
> > >Stretch = True
> > >Center = True
> > >AutoSize = False (the real picture is smalleer)
> > >
> > >the picture dosent strecth like I need
> > >she put the original picture in the center and the rest is
> > filled with
> > >color White (Component Color).
> > >any advice ?
> >
> > I think you want Autosize = True
> >
> > This should cause the image to be scaled up to fit into the
> > TPicture, which seems to be what you really wanted to happen...
>
> If they want the picture to automatically stretch to fit the size
> the control then this would be conflicted by AutoSize being truebecause
> that will allow the actual dimensions of the control to bedetermined by the
> dimensions of the image. Then, the control wouldn't stay in theFortunately,
> pre-determined space they wanted it to.
>
> I'm probably going to need to play with a sample application.
> the code for this control is pretty simple as the painting routinesare not
> that complicated. It's probably not going to be hard to address.How can I send a sample zip File ?
>
> Jason
>