cancel
Showing results for 
Search instead for 
Did you mean: 

Zoom in smartform

sergio_cifuentes
Participant
0 Kudos

is it possible to make a zoom to a smartform when you see it in the screen i mean only for seeing it more clearly not making bigger the letters??

thanks,

Sergio Cifuentes

Accepted Solutions (1)

Accepted Solutions (1)

ferry_lianto
Active Contributor
0 Kudos

Hi,

There won't be any zoom in/out facility in smartform.

The only thing you can do is in the smart style you can increase the size of the font for that particular content that is not coming properly.

Also you can try to check if the user run preview or print and decide which paragraph has to be used.

If user has choosen the preview you print the text using a paragraph with a "big" character.

Regards,

Ferry Lianto

Answers (1)

Answers (1)

ferry_lianto
Active Contributor
0 Kudos

Hi Sergio,

Other alternative perhaps you can convert to PDF and using the PDF zoom functions.

Check this sample code from other thread.


REPORT zpdf MESSAGE-ID zc LINE-SIZE 255 NO STANDARD PAGE HEADING.
 
PARAMETERS: spoolid LIKE tsp01-rqident OBLIGATORY.
 
DATA BEGIN OF pdf_table OCCURS 0.
        INCLUDE STRUCTURE tline.
DATA END   OF pdf_table.
 
DATA pdf_fsize TYPE i.
 
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
     EXPORTING
          src_spoolid   = spoolid
          no_dialog     = 'X'
     IMPORTING
          pdf_bytecount = pdf_fsize
     TABLES
          pdf           = pdf_table
     EXCEPTIONS
          OTHERS        = 0.
 
CALL FUNCTION 'DOWNLOAD'
     EXPORTING
          bin_filesize = pdf_fsize
          filetype     = 'BIN'
     TABLES
          data_tab     = pdf_table.

Regards,

Ferry Lianto