Results 1 to 2 of 2

Thread: Using IcImagingControl in WPF

  1. #1
    Join Date
    Jan 2013
    Posts
    32

    Using IcImagingControl in WPF

    Hi,

    I was wondering if anyone has had success using IcImagingControl inside a WPF WindowsFormsHostControl?

    I am finding that the IcImagingControl is not visible if the WindowsFormsHostControl is itself contained by another WPF control.

    Thanks

    Jerry

  2. #2
    Join Date
    Sep 2017
    Posts
    1

    Re: Using IcImagingControl in WPF

    From Code Behind, was quick. I haven't tried MVVM yet.

    Code:
      <DockPanel LastChildFill="True">
            <WindowsFormsHost 
                Name="ImaginSourceWF" 
                HorizontalAlignment="Stretch" 
                VerticalAlignment="Stretch" />
        </DockPanel>
    Code:
     public VideoView(ICImagingControl value)
            {
                ImaginSourceWF.Child = value;
                ImaginSourceWF.Height = imageControl.Height;
                ImaginSourceWF.Width= imageControl.Width;
            }

Similar Threads

  1. Can I use ICImagingControl in WPF Application?
    By Urushi in forum IC Imaging Control .NET
    Replies: 1
    Last Post: May 25, 2010, 10:32:44
  2. Can't set ICImagingControl.Device (v2.0)
    By MikeG in forum IC Imaging Control ActiveX
    Replies: 1
    Last Post: December 21, 2004, 08:30:17
  3. what is the price of icimagingcontrol.ocx
    By ravibme in forum IC Imaging Control C++ Class Library
    Replies: 1
    Last Post: May 10, 2004, 09:25:44
  4. ICImagingControl.ocx
    By Unregistered in forum IC Imaging Control ActiveX
    Replies: 4
    Last Post: October 16, 2003, 10:11:32
  5. Errormessage in IcImagingControl
    By Unregistered in forum IC Imaging Control ActiveX
    Replies: 1
    Last Post: April 26, 2002, 17:26:29

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •