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

Question

Question

Snapshot code sdk repository access in background o visible false ?

asked on January 20, 2014

This is code , run snapshot for documents

 

using (C_AU.ClientManager clienteLaserFiche = new C_AU.ClientManager())

 

    {


 IList<C_AU.ClientWindow> carpetasAbiertas =        clienteLaserFiche.GetAllClientWindows(C_AU.ClientWindowType.Main).ToList();

 C_AU.MainWindow carpeta = carpetasAbiertas[0] as C_AU.MainWindow;

 C_AU.GeneratePagesOptions opcionesCat = new C_AU.GeneratePagesOptions();

 opcionesCat.ShowUI = false;

  List<int> documentos = new List<int>();
  foreach (int elemento in oIds)
  {   documentos.Add(elemento);   }

  carpeta.GeneratePages(documentos, opcionesCat);


     }

 

Work fine, but only client laserfiche is open, if client laserfiche is closed, not working.

Its possible applying snapshot to documents with client laserfiche in background

(sdk, repository access, etc ?) 

 

Thanks. 

0 0

Answer

APPROVED ANSWER SELECTED ANSWER
replied on January 21, 2014

It's not possible to run Snapshot on documents already in Laserfiche without first starting the Laserfiche Client. However, one can Snapshot files outside of Laserfiche and then import the TIFF output into Laserfiche without using the client. Please see the SnapshotDriver class in the Laserfiche.DocumentServices.dll assembly that ships with the Laserfiche SDK.

1 0
replied on February 3, 2014

Hi Michael,

 

Could you please let me know in which version of the SDK was class SnapshotDriver released. I am looking at the SDK information for version 9.0 and cannot find it. Am I missing something?

 

Thanks,

Francois

0 0

Replies

replied on January 21, 2014

OK thanks

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

Sign in to reply to this post.