Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Is any way to preview all pages of tiff file

Forum

Search UsersRules
Is any way to preview all pages of tiff file
#1
Active user
Points:: 0
Joined:: Sep 16, 2013

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.

Profile
#2
Guest
Points::
Joined::

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.

Profile
#3
Active user
Points:: 0
Joined:: Sep 16, 2013

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?

Profile
#4
Guest
Points::
Joined::

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

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.