Ako vám dnes môžeme pomôcť?

EAE26.0: How to Open documents like Pdf from Ecostruxure Automation Expert HMI Runtime

This knowledge base article explains Users on How to Open documents like Pdf from Ecostruxure Automation Expert HMI Runtime.

  1. Take a Button on to the HMI Canvas and name it as Document as shown below

N1

2. Now click on the Event button in Properties of the selected Button and Double click at "Click" Command, as shown below.

N2

3.  Once C# code opened, make sure “System.Diagnostics” library is referenced if not then add it.

N3

4. Now Give the C# command below the DrawButton1Click, for opening the Document. The path of the document along with Name & extension needs to be given in double quotes.

N4

5.  Save, Build and Start HMI Runtime. User can click on the Button and the provided Pdf document will be opened. If the path or document name is wrong Exception error will be generated.

Schneider Electric Slovakia

Objavte viac
Rad:
Objavte viac
Rad:
  • Produktová dokumentácia
  • Prevzatia softvéru
  • Nástroj pre výber produktov
  • Nahradenie a výmena produktu
  • Centrum nápovedy
  • Nájdite naše pobočky
  • Kde kúpiť
  • Komunita Schneider Electric
  • Kariéra
  • Profil spoločnosti
  • Nahlásiť pochybenie
  • Dostupnosť
  • Redakcia
  • Investori
  • EcoStruxure
  • Vyhľadať pracovné miesta
  • Blog
  • Zásady ochrany osobných údajov
  • Upozornenie o súboroch cookie
  • Zmluvné podmienky
  • Zmeniť nastavenia cookie