Try the below Inline visualforce page code,
<apex:page standardController="Quote"> <apex:stylesheet value="{!URLFOR($Resource.sflight, 'assets/styles/salesforce-lightning-design-system.css')}"/> <apex:stylesheet value="{!URLFOR($Resource.sflight, 'assets/styles/salesforce-lightning-design-system.min.css')}"/> <!-- jQuery CDN --> <script src="https://code.jquery.com/jquery-1.11.1.min.js"></script> <!-- Declare SessionId Variable For AJAX Toolkit --> <script type="text/javascript"> var __sfdcSessionId = '{!GETSESSIONID()}'; </script> <!-- Salesforce AJAX Toolkit Source --> <script src="../../soap/ajax/36.0/connection.js" type="text/javascript"></script> <button class="slds-button slds-button--brand" style="margin-left: 45%; margin-top: -1%;" onclick="MyFunction();"> Create Pdf </button></apex:page>
We are the ISV Partners and Please reach us for custom development => www.merfantz.com
--------------------------Thank You!!!------------------------