Hôm nay chúng tôi có thể giúp gì cho bạn?

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 Việt Nam

Tìm hiểu thêm
Phạm vi:
Tìm hiểu thêm
Phạm vi:
  • Tài liệu về Sản phẩm
  • Tải xuống phần mềm
  • Công cụ chọn Sản phẩm
  • Thay thế và thay đổi sản phẩm
  • Trung tâm Hỗ trợ
  • Tìm Văn phòng của chúng tôi
  • Nhận báo giá
  • Tìm Nhà Phân phối
  • Cộng đồng Schneider Electric
  • Cơ hội nghề nghiệp
  • Hồ sơ doanh nghiệp
  • Báo cáo hành vi sai trái
  • Khả năng truy cập
  • Phòng tin tức
  • Nhà đầu tư
  • EcoStruxure
  • Tìm việc
  • Blog
  • Chính sách bảo mật
  • Thông báo về Cookie
  • Điều khoản sử dụng
  • Change your cookie settings