VS2008 Toolbox for Imager

  • I hope someone can help me out.

    VS2008 using an EP10. Want to add picture taking capabilities to my app that is all written and working well. Using CF3.5 Windows Mobile 6.5.3 as what comes with EP10.

    Have SDK 5.3 installed and see the items in the toolbox. Adding the Imager SDK 14.11. I add the refrence to my project. Add the dll to the project and add to the toolbox so I can get the picturebox (psionteklogix.imager.capturedimagebox). No such luck. Nothing for the imager is added to the toolbox.

    I am running on vista at home and windows 7 at work.

    Any help would be appreciated as I find the docs and info for imager to be very low key and leaves a lot for trial and error and lacking in many areas.

    Will

  • Hello,

    add the below to your form code:

    VB.net

    Imports PsionTeklogix.Imager

    Private picturebox1 As PsionTeklogix.Imager.CapturedImageBox

    Me.picturebox1 = New PsionTeklogix.Imager.CapturedImageBox

    or

    C#

    using PsionTeklogix.Imager;

    this.pictureBox1 = new PsionTeklogix.Imager.CapturedImageBox();  

    private CapturedImageBox pictureBox1;

  • Thanks. I did it by code last night adding those same lines to the form design file. It works and is ok that way. Now I have another question. The preview window for the camera device is very small. I tried different sizes but all stays the same. Is there any way to make the preview larger say the entire size of the picturebox?

    All of my code is in VB and I been looking and trying all VB samples I can find. Some has helped very much. Is there any better docs on the imager SDK?

    Thanks

  • Here's a VB example using ICS in the Demo and Sample area:  http://community.psion.com/downloads/developer_sdkhdk/m/sample__demo_code/21685.aspx

     

  • Steven, Thanks. I have that sample and used it very good. I was able to modify it as needed and use it. I just find the preview panel for the image very small when the image size should be able to be bigger. I am not sure if I am missing something or that is all that can be done.

    Are there any samples using the.net CF camera functions and not using the imager SDK?

  • To change your preview area you need to use Rectangle and set you settingid.window for the imager/camera.

  •  

    How to change the image in PsionTeklogix.Imager.CapturedImageBox in dynamic?

    And

    How to clear the PsionTeklogix.Imager.CapturedImageBox ?

    Please help...

     

  • arul_vls

    How to change the image in PsionTeklogix.Imager.CapturedImageBox in dynamic?

     

     

    Use the CaptureResult member of the CapturedImageBox class.  You receive a CaptureResult object on calls from imager.Capture or via the OnCaptureCompleted callback.

    After setting it directly, you can call Update() from the CapturedImageBox class:

     

    arul_vls

    How to clear the PsionTeklogix.Imager.CapturedImageBox ?

     

    Not sure what you mean here.  Remember, its a derivative of the PictureBox class, so anything you can do there can be done with this class.

  • if possible, can you please give the example code for ?

    Thank you in advance.

  • There are several in our 'Samples and Demos' area... Here's a good one:  http://community.psion.com/downloads/developer_sdkhdk/m/sample__demo_code/34619.aspx

  • In case it helps, let me bring the following demos to your attention

    » C# Imager Scanner and Trigger (DEMO) Solution [MDSDK v5.4 - ICS 15.1]

    » VB .NET Imager Scanner and Trigger (DEMO) Solution [MDSDK v5.4 - ICS 15.1]

  • Thank you for your help.

    Another doubts, Is it possible to upload the image from the local drive to PsionTeklogix.Imager.CapturedImageBox in dynamic ?

     

     

     

  • arul_vls

    Another doubts, Is it possible to upload the image from the local drive to PsionTeklogix.Imager.CapturedImageBox in dynamic ?

    Not sure what you mean by this.  You can dynamically update the picture at any point (see sample code for zoom demo).