Re: Smooth lines in Picturebox

Tech-Archive recommends: Speed Up your PC by fixing your registry



On 10 Oct 2006 01:33:31 -0700, "bart.smissaert@xxxxxxxxx"
<bart.smissaert@xxxxxxxxx> wrote:

I would work in Pixels

OK, how do I do that?

Set your ScaleMode for the PictureBox to vbPixels

(you would have to do that for APIs anyway)
.



Relevant Pages

  • Re: VB6 Print Screen - image to a file
    ... sort of like an old dos game. ... As PictureBox, wholeForm As Boolean) ... Dim oldMode1 As Long, oldMode2 As Long ... myPicBox.Container.ScaleMode = vbPixels ...
    (microsoft.public.vb.general.discussion)
  • Re: PictureBox Troubles Update
    ... I can now see the images. ... The form was the container and was not set to vbPixels. ... If the "parent" container is not a form but a frame or another picturebox, ...
    (microsoft.public.vb.general.discussion)
  • Re: Getting and setting width and height of an image file
    ... Private Sub ScalePicture(PB As PictureBox, File As String, Factor As Single) ... wid = ScaleX(pic.Width * Factor, vbHimetric, vbPixels) ... size, retaining their aspect ratio? ...
    (microsoft.public.vb.general.discussion)
  • Re: Rather difficult problem?
    ... When I set the scalemode to Pixels all the lines and blocks are on a ... > the UDT ... and have a look at the FillRect and FrameRect APIs ... > Another tip, even if you do not use APIs, set the ScaleMode to ...
    (microsoft.public.vb.general.discussion)
  • Re: Controls/Resize bei Schriftgrad 110%
    ... Mit ScaleMode = vbPixels kannst Du Rundungsprobleme bei Grössenangaben ... die ScaleMode-Einstellung vbPixels. ... Prev by Date: ... Next by Date: ...
    (microsoft.public.de.vb)