You are viewing limited content. For full access, please sign in.

Question

Question

How do find the Page Count for Electronic Files using SDK?

SDK
asked on February 28, 2014

I was able to find the page count for TIFF files. What about electronic files such as PDF?

 

var laserficheDocument = (LFDocument)database.GetEntryByID(document.TocId);
var documentPages = laserficheDocument.Pages;

var count = documentPages.Count;

 

0 0

Answer

APPROVED ANSWER
replied on February 28, 2014

Laserfiche does not have page count for electronic documents. The page count only applies to image/text pages.

2 0
replied on February 28, 2014

How do you determine if it's electronic file or image file?

0 0
replied on February 28, 2014

In LFSO, one way is to check LFElectFile.IsEmpty. Use LFDocument.ElectFile to get an LFElectFile object.

 

In RA, DocumentInfo has an IsElectronicDocument property.

4 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.