Displaying a pdf file from Winform

前端 未结 11 1116
醉梦人生
醉梦人生 2020-12-09 03:03

I\'m just creating a simple calculator in C# (windows form)

I\'ve created a \"User Help\" which is a pdf file, what I want is to display that pdf file if the user cl

11条回答
  •  無奈伤痛
    2020-12-09 03:40

    AxAcroPDF1.LoadFile("C:ShippingForm.pdf")
    AxAcroPDF1.src = "C:ShippingForm.pdf"
    AxAcroPDF1.setShowToolbar(False)
    AxAcroPDF1.setView("fitH")
    AxAcroPDF1.setLayoutMode("SinglePage")
    AxAcroPDF1.setShowScrollbars(False)
    AxAcroPDF1.Show()
    

提交回复
热议问题