આ Save પીડીએફ પ્લગઇન પ્લગઇન માટે ક્ષમતા ઉમેરવામાં તરીકે save કોઈપણ વેબસાઇટ, સીએમએસ અથવા બ્લોગ પર પીડીએફ તરીકે કોઈપણ વેબ પૃષ્ઠ. જેમ કે વર્ડપ્રેસ, ડ્રુપલ અને જુમલા.
ફક્ત વર્ગ ઉમેરો grabzit-pdf-save
to an HTML element such as a link, button or image. When the user clicks on the HTML element, the browser downloads the current web page in the PDF file format. This allows your users to read a good offline version of your web page at a later date.
First, place the line below at the bottom of the page just above the closing body tag. Then replace the "APPLICATION KEY" with your actual એપ્લિકેશન કી.
new GrabzItSaveAsPDF("Sign in to view your Application Key");
આગળ, વેબ પૃષ્ઠને તમારા વેબ પૃષ્ઠમાં પીડીએફ ફોર્મેટમાં રૂપાંતરિત કરવાની ક્ષમતા ઉમેરવા. ફક્ત ઉમેરો grabzit-pdf-save
class to an HTML element such as a link. This will automatically read and generate a download of the web page when someone clicks on the HTML element.
તમારે તે સિવાય કોઈપણ અન્ય રૂપરેખાંકનો વિકલ્પો સેટ કરવાની જરૂર નથી. જો કે તમે બધાને સ્પષ્ટ કરી શકો છો સામાન્ય અને પીડીએફ પરિમાણો વિકલ્પો .બ્જેક્ટમાં.
જ્યારે તમે save a web page, the system automatically names the downloaded PDF file after the title of the web page. However in the below example we have set the filename of the download to be mypage.pdf instead.
new GrabzItSaveAsPDF("Sign in to view your Application Key", {"filename": "mypage.pdf"});
To download something other than the current page. You can specify a different URL by using the grabzit-url
હમણાં પૂરતું લક્ષણ.
<a href="#" grabzit-url="https://www.tesla.com" class="grabzit-pdf-save">Save as PDF</a>
જ્યારે તમે ઇચ્છો તેમ જાવાસ્ક્રિપ્ટ અથવા સીએસએસમાં ફેરફાર કરવા માટે મફત છો! આ Save પીડીએફ પ્લગઇન વિશિષ્ટ સીએસએસ વર્ગો પ્રદાન કરતું નથી જેનો ઉપયોગ તમે પૂર્વાવલોકન બ styleક્સને સ્ટાઇલ કરવા માટે કરી શકો છો.
આ સમાવેશ થાય છે grabzit-pdf-save-progress
. આ સાથે તત્વની શૈલીને સ્પષ્ટ કરે છે grabzit-pdf-save
class during PDF generation. By default the HTML element appears disabled while GrabzIt creates the PDF. You can easily change this.
GrabzIt's Save પીડીએફ પ્લગઇન બ્લોગ અથવા સીએમએસ સાથે સંપૂર્ણપણે સુસંગત છે. ખાલી ખોલો બ્લોગ-અથવા-સે.મી.-ઇન્સ્ટોલ. txt found in the plugin download, this includes all the required JavaScript and CSS in one block. You can then insert this intઓએ વિજેટ કે કાચા એચટીએમએલ સ્વીકારે છે.
Such widgets are present in most blog or Content Management Systems. Remember to locate it at the bottom of the page after the content. This enables all the HTML elements decorated with the special CSS class.