C/C++ codeAcroPDF1->Visible = false;
AcroPDF1->LoadFile("C:\\test.pdf");
AcroPDF1->setShowToolbar(false);
AcroPDF1->setShowScrollbars(false);
AcroPDF1->setLayoutMode("SinglePage");
AcroPDF1->setPageMode("none");
AcroPDF1->setView("Fit");
AcroPDF1->gotoFirstPage();
AcroPDF1->Visible = true;