কখনও কখনও আপনি কেবল এটি চান যে কোনও দস্তাবেজের বিষয়বস্তু এটি দেখার অনুমতিপ্রাপ্ত ব্যক্তিদের দ্বারা দেখা উচিত। এটি কোনও নথিতে একটি পাসওয়ার্ড বরাদ্দের মাধ্যমে করা যেতে পারে যা ডকুমেন্টটি খোলার জন্য অবশ্যই সঠিকভাবে প্রবেশ করতে হবে। আপনি গ্র্যাবআইটি-তে পাসওয়ার্ডটি ব্যবহার করতে চান এমন পাসওয়ার্ড দিয়ে আপনি তৈরির সময় কোনও পিডিএফ বা ওয়ার্ড ডকুমেন্টকে পাসওয়ার্ড দিয়ে সুরক্ষিত রাখতে পারেন।
নীচের উদাহরণগুলি দেখায় যে আমরা বর্তমানে সমর্থন করি এমন প্রতিটি প্রোগ্রামিং ভাষার জন্য একটি PDF নথিতে কীভাবে পাসওয়ার্ড সুরক্ষা যুক্ত করতে হয়।
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); PDFOptions options = new PDFOptions(); options.Password = "pass"; grabzIt.URLToPDF("http://www.spacex.com", options); grabzIt.Save("http://www.mywebsite.com/Home/Handler");
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); PDFOptions options = new PDFOptions(); options.setPassword("pass"); grabzIt.URLToPDF("http://www.spacex.com", options); grabzIt.Save("http://www.mywebsite.com/handler");
<script src="https://cdn.jsdelivr.net/npm/@grabzit/js@3.5.2/grabzit.min.js"></script>
<script>
GrabzIt("Sign in to view your Application Key").ConvertURL("http://www.spacex.com",
{"format": "pdf", "download": 1, "password": "pass"}).Create();
</script>
var grabzit = require('grabzit'); var client = new grabzit("Sign in to view your Application Key", "Sign in to view your Application Secret"); var options = {"password":"pass"}; client.url_to_pdf("http://www.spacex.com", options); client.save("http://www.example.com/handler", function (error, id){ if (error != null){ throw error; } });
$grabzIt = GrabzItClient->new("Sign in to view your Application Key", "Sign in to view your Application Secret"); $options = GrabzItPDFOptions->new(); $options->password("pass"); $grabzIt->URLToPDF("http://www.spacex.com", $options); $grabzIt->Save("http://www.mywebsite.com/handler.pl");
$grabzIt = new \GrabzIt\GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); $options = new \GrabzIt\GrabzItPDFOptions(); $options->setPassword("pass"); $grabzIt->URLToPDF("http://www.spacex.com", $options); $grabzIt->Save("http://www.mywebsite.com/handler.php");
grabzIt = GrabzItClient.GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret") options = GrabzItPDFOptions.GrabzItPDFOptions() options.password = "pass" grabzIt.URLToPDF("http://www.spacex.com", options) grabzIt.Save("http://www.mywebsite.com/handler.py")
https://api.grabz.it/services/convert?key=Sign in to view your Application Key&format=pdf&password=pass&url=https%3A%2F%2Fspacex.com%2F
grabzIt = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret") options = GrabzIt::PDFOptions.new() options.password = "pass" grabzIt.url_to_pdf("http://www.spacex.com", options) grabzIt.save("http://www.mywebsite.com/handler/index")
নীচের উদাহরণগুলি দেখায় যে আমরা বর্তমানে সমর্থন করি এমন প্রতিটি প্রোগ্রামিং ভাষার জন্য একটি DOCX ফাইলে কীভাবে পাসওয়ার্ড সুরক্ষা যোগ করতে হয়।
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); DOCXOptions options = new DOCXOptions(); options.Password = "pass"; grabzIt.URLToDOCX("http://www.spacex.com", options); grabzIt.Save("http://www.mywebsite.com/Home/Handler");
GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); DOCXOptions options = new DOCXOptions(); options.setPassword("pass"); grabzIt.URLToDOCX("http://www.spacex.com", options); grabzIt.Save("http://www.mywebsite.com/handler");
<script src="https://cdn.jsdelivr.net/npm/@grabzit/js@3.5.2/grabzit.min.js"></script>
<script>
GrabzIt("Sign in to view your Application Key").ConvertURL("http://www.spacex.com",
{"format": "docx", "download": 1, "password": "pass"}).Create();
</script>
var grabzit = require('grabzit'); var client = new grabzit("Sign in to view your Application Key", "Sign in to view your Application Secret"); var options = {"password":"pass"}; client.url_to_docx("http://www.spacex.com", options); client.save("http://www.example.com/handler", function (error, id){ if (error != null){ throw error; } });
$grabzIt = GrabzItClient->new("Sign in to view your Application Key", "Sign in to view your Application Secret"); $options = GrabzItDOCXOptions->new(); $options->password("pass"); $grabzIt->URLToDOCX("http://www.spacex.com", $options); $grabzIt->Save("http://www.mywebsite.com/handler.pl");
$grabzIt = new \GrabzIt\GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret"); $options = new \GrabzIt\GrabzItDOCXOptions(); $options->setPassword("pass"); $grabzIt->URLToDOCX("http://www.spacex.com", $options); $grabzIt->Save("http://www.mywebsite.com/handler.php");
grabzIt = GrabzItClient.GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret") options = GrabzItDOCXOptions.GrabzItDOCXOptions() options.password = "pass" grabzIt.URLToDOCX("http://www.spacex.com", options) grabzIt.Save("http://www.mywebsite.com/handler.py")
https://api.grabz.it/services/convert?key=Sign in to view your Application Key&format=docx&password=pass&url=https%3A%2F%2Fspacex.com%2F
grabzIt = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret") options = GrabzIt::DOCXOptions.new() options.password = "pass" grabzIt.url_to_docx("http://www.spacex.com", options) grabzIt.save("http://www.mywebsite.com/handler/index")