LEADTOOLS Support
Imaging
Imaging SDK Questions
Control Screen Capture Properties Programaticly - 14.5
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, May 22, 2006 2:31:06 PM(UTC)
Groups: Registered
Posts: 4
Hi
I am trying to call SelectRegionTool and expecting to region coordinates to changed after I secect the area, but it's not happening, I always capture the full desktop.
Please, help, I am using Mulimedia sdk 14.5.
here is the code I am trying to use:
Dim lmScreenCapt As LMScrCapLib.LMScrCap
lmScreenCapt = ltmmScreenServer.GetSubObject(LTMMLib.ltmmCapture_Object.ltmmCapture_Object_VideoCaptureFilter)
'ltmmScreenServer - is a capture control on the form
ltmmScreenServer.EnterEdit()
lmScreenCapt.CaptureFrameRate = 8
lmScreenCapt.EnableRegion = True
lmScreenCapt.SelectRegionTool()
ltmmScreenServer.LeaveEdit()
Thank you.
#2
Posted
:
Sunday, May 28, 2006 5:19:25 AM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
When the user draws the region on the screen after you call SelectRegionTool(), the values selected are sent to a callback function that you can set using the SetCallbackObject method. Your callback function code decides whether to set the property values to the newly selected values or not. It is not done automatically.
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
#3
Posted
:
Monday, May 29, 2006 11:28:18 AM(UTC)
Groups: Registered
Posts: 4
Thank you for your reply Amin,
Do you have any code examples or docs what I can use?
Thank you again,
Igor.
#4
Posted
:
Monday, May 29, 2006 6:11:53 PM(UTC)
Groups: Registered
Posts: 1
#5
Posted
:
Tuesday, May 30, 2006 3:30:56 AM(UTC)
Groups: Registered
Posts: 4
The site you sent does not have any code examples or docs explain how lead tool control is working - ??????
But thank you any way.
#6
Posted
:
Thursday, June 1, 2006 11:29:10 AM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
Igor,
We currently don't have a sample. Did you try to implement a callback function?
If you couldn't get the callback to work, I can try to create a sample for you. Are you using VB6 or VB.NET?
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
#7
Posted
:
Sunday, June 4, 2006 4:10:19 AM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
Igor,
I created a demo that uses the Screen Capture Video Source Region Callback in a simple VB.NET project.
The callback is needed to set the values selected by user using the interactive Region Tool.
The demo is attached with this post.
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Imaging
Imaging SDK Questions
Control Screen Capture Properties Programaticly - 14.5
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.