Dear,
Is there any function that allows me to get a file stream based on entry id ? Using SDK
Thanks !
Dear,
Is there any function that allows me to get a file stream based on entry id ? Using SDK
Thanks !
Thank you so much.
I found this function that serves the purpose too :
LaserficheReadStream file = Document.ReadEdoc(rInt, out contentType, Sess);
byte[] result = new byte[file.Length];
file.Read(result, 0, result.Length);
Ali,
The ReadPagePartByID method on the static Document class will return a stream. From the SDK documentation;
public static LaserficheReadStream ReadPagePartById(
int entryId,
long pageId,
PagePart pagePart,
Session session
)
Thank you so much.
I found this function that serves the purpose too :
LaserficheReadStream file = Document.ReadEdoc(rInt, out contentType, Sess);
byte[] result = new byte[file.Length];
file.Read(result, 0, result.Length);
For clarity, these calls are not the same. One reads the image pages, the other reads the electronic document component.