איך נוכל לעזור לך היום?

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
  • משרות
  • פרופיל חברה
  • דיווח על התנהגות בלתי הולמת
  • נגישות
  • חדר חדשות
  • משקיעים
  • EcoStruxure
  • חיפוש משימה
  • בלוג
  • מדיניות שמירה על פרטיות
  • הודעה על קובצי Cookie
  • תנאי שימוש
  • Change your cookie settings