Home | About us | Overview | Softwares - Downloads | Evaluate | Order | Support | old forums | Contact | F.A.Q. | Documentations | Search | Sitemap

isblank returns true even when content is present

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

isblank returns true even when content is present

Postby SSriram on Wed Jun 04, 2008 5:55 pm

Loic,

In Gdpicturepro 3.8.1, isblank(98) returns true, even when the page has content.

If page has more content, It returns false aas expected. However, isbLank() also returns true/false inconsistently. Pages having less content are sometimes indicated as blank pages and sometimes as having content.

The code is as follows:
Code: Select all
While Imaging1.CreateImageFromTwain(Me.hWnd) <> 0
            If Not Imaging1.IsBlank(98) Then
               nImageCount = nImageCount + 1
               nImageID = Imaging1.GetNativeImage
           
               'Saves to native pdf
               Call Imaging1.TwainAddGdPictureImageToPdf(nImageID)
           
               'Saves to native multipage tiff image
               If nImageCount = 1 Then
                  Call Imaging1.TiffSaveAsNativeMultiPage("c:\output.tif", CompressionLZW)
               Else
                  Call Imaging1.TiffAddToNativeMultiPage(nImageID)
                  Imaging1.CloseImage (nImageID)
               End If
            End If
      Wend


Is there a reliable alternative to using isBlank() or has it been fixed in later versions?
SSriram
SSriram
 
Posts: 12
Joined: Thu Jan 03, 2008 6:51 pm
Location: Chennai India

Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 0 guests

cron