How can we help you today?

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 Hong Kong

Explore more
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range:
  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact centre
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings