Hur kan vi hjälpa dig idag?

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 Sverige

Utforska mer
Produktfamilj
Utforska mer
Produktfamilj
  • Produktdokumentation
  • Ladda ner programvara
  • Produktväljare
  • Byt ut eller ersätt produkt
  • Hjälp- och kontaktcenter
  • Här köper du
  • Begär en offert
  • Hitta våra kontor
  • Shop.se.com/se/sv nedstängning
  • Schneider Electrics community
  • Karriär
  • Företagsprofil
  • Rapportera ett tjänstefel
  • Tillgänglighet
  • Pressrum
  • Investerare
  • EcoStruxure
  • Sök jobb
  • Blogg
  • Sekretesspolicy
  • Cookie-information
  • Användarvillkor
  • Change your cookie settings