Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, December 30, 2008 1:22:38 AM(UTC)

Roshni  
Roshni

Groups: Registered
Posts: 15


Hi!

The following wrapper class functions were used in version 13.
Are these with the following functionalities available in version16, C++ Class Library:
1) SetEnableMethodErrors(FALSE);
2) Load(szFullImage, 0, (short)nPageToLoad, 1) - concerned with loading image for display
3) SetBitmapDataPath( strFileName ) - setting the path of a bitmap file
4) GetFileInfo(szFullImgFile, 0, FILEINFO_TOTALPAGES) - I think it is similar to LAnnContainer::FileInfo
5) GetInfoTotalPages - returns number of pages in a multi page file

 

Thanks..

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Tuesday, December 30, 2008 4:31:30 AM(UTC)

Qasem Lubani  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

1- There isn't a SetEnableMethodErrors in ClassLib. Class lib does not raise errors like COM or ActiveX; it gives error codes in the return values of the functions.
2. The load method is LBitmapBase::Load.
3. There is no direct equivalent for the SetBitmapDataPath method.
4. The equivalent function to GetFileInfo is LFile::GetInfo.
5. The FILEINFO structure, which is loaded by the LFile::GetInfo function, provides information about the specified file. One of its flags is TotalPages which is the total number of pages present in a file. To update this field, call LFile::GetInfo with uFlags set to FILEINFO_TOTALPAGES.

 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.065 seconds.