Is any way to preview all pages of tiff file

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 2
Joined: Sep 16, 2013
Company:

Hello,

I've got problem with preview all pages of tiff file.
I have saved the tiff file (5 pages) as Value Storage.
Next I would like to preview all pages of this file but I can not do that.
In my form at picture field i see only the first page of tiff file.

How could I to preview in 1C:Enterprise this file with all its pages? I think it could be by paging or another way to view it in all.

Thanks in advice.

 
#2
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, kris s.

I'm afraid that this feature is not available. Maybe you can add a command that will open this file in an external application that supports multi-page TIFF.

And maybe it would be easier for your users to read PDF than multi-page TIFF.

 
#3
People who like this:0Yes/0No
Active user
Rating: 2
Joined: Sep 16, 2013
Company:

Hello,

could you write an examples for both capabilities, please?

1. How to start external program from 1C?
2. How to preview multiple PDF file in 1C?

 
#4
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Kris s,

Both are done with the same way: using BeginRunningApplication function. Here is an example:

Code
&AtClient
Procedure OpenFileWithOSDefaultProgram(FilePathOrURL)
   
   BeginRunningApplication(New NotifyDescription("Attachable_EmptyHandler", ThisForm), FilePathOrURL);
   
EndProcedure

&AtClient
Procedure Attachable_EmptyHandler(CodeReturn, AdditionalParameters) Export
   
   Return;
   
EndProcedure

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.