Finally able to jump to a particular page using the goToLocation function in adobe embed api.
For reference please check, https://www.adobe.io/apis/documentcloud/dcsdk/docs.html?view=view
const previewFilePromise = this.pdfRef = this.adobeDCView.previewFile({
content: {
location: {
url: fileName,
}
},
metaData: {
fileName: 'my file.pdf',
id: "filed"
}
},viewerConfig);
previewFilePromise.then((adobeViewer:any) => {
adobeViewer.getAPIs().then((apis:any) => {
apis.gotoLocation(<Page_Number>, <X_Coordinate>, <Y_Coordinate>)
.then(() => console.log("Success"))
.catch((error:any) => console.log(error));
});
})
X and Y coordinates are optional, so using this function we can go to any page inside iframe using our own custom button