Hi there,
I need some help from you with the following functions
ALL TwainGetAvailablexxxxxxxx functions
Like TwainGetAvailableBitDepths
Wants a pointer to an array were they can store the data...
I have looked all day to get this done in Visual Foxpro...
But i have NOT found a way to do this.
I cannot pass a pointer to an array to this function.
Have you any idea how I can solve this ?
I hope that you can help me..
Regards.
Twain - Getting available capabilities values with vfp
Twain - Getting available capabilities values with vfp
Last edited by oneuser on Wed May 23, 2007 11:49 am, edited 1 time in total.
Hi,
You can download the gdpicturepro.ocx 3.6 pre-release from here:
https://www.gdpicture.com/ressources/betas/
I've added these new methods:
TwainGetAvailableBrightnessCount()
TwainGetAvailableContrastCount()
TwainGetAvailableBitDepthsCount()
TwainGetAvailablePixelTypesCount()
TwainGetAvailableXResolutionsCount()
TwainGetAvailableYResolutionsCount()
TwainGetAvailableBrightnessNo()
TwainGetAvailableContrastNo()
TwainGetAvailableBitDepthNo()
TwainGetAvailablePixelTypeNo()
TwainGetAvailableXResolutionNo()
TwainGetAvailableYResolutionNo()
you can find the documentation here: https://www.gdpicture.com/references/gdp ... index.html
And here a vfp sample to displays the available pixel types:
Best regards,
Loïc Carrère
You can download the gdpicturepro.ocx 3.6 pre-release from here:
https://www.gdpicture.com/ressources/betas/
I've added these new methods:
TwainGetAvailableBrightnessCount()
TwainGetAvailableContrastCount()
TwainGetAvailableBitDepthsCount()
TwainGetAvailablePixelTypesCount()
TwainGetAvailableXResolutionsCount()
TwainGetAvailableYResolutionsCount()
TwainGetAvailableBrightnessNo()
TwainGetAvailableContrastNo()
TwainGetAvailableBitDepthNo()
TwainGetAvailablePixelTypeNo()
TwainGetAvailableXResolutionNo()
TwainGetAvailableYResolutionNo()
you can find the documentation here: https://www.gdpicture.com/references/gdp ... index.html
And here a vfp sample to displays the available pixel types:
Code: Select all
PRIVATE nCpt,;
oGdPicturePro
oGdPicturePro = CREATEOBJECT("gdpicturepro.cgdpicture")
WITH oGdPicturePro as gdpicturepro.cgdpicture
IF .TwainOpenDefaultSource()
nCpt = .TwainGetAvailablePixelTypesCount
FOR nCpt = 1 TO .TwainGetAvailablePixelTypesCount
MESSAGEBOX(.TwainGetAvailablePixelTypeNo(nCpt))
ENDFOR
.TwainUnloadSourceManager()
ENDIF
ENDWITH
Best regards,
Loïc Carrère
Thnx
Very fast and good support, thank you very much.....
Keep up the good work !
Keep up the good work !
Who is online
Users browsing this forum: No registered users and 1 guest