Hi,
You can download the gdpicturepro.ocx 3.6 pre-release from here:
http://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:
http://www.gdpicture.com/references/gdpicturepro/content/index.htmlAnd 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