PdfContentEditor

PdfContentEditor

अवलोकन

PdfContentEditor Aspose.PDF FOSS for C++ में एक क्लास है।

PdfContentEditor.ReplaceText(srcText, destText) पूरे दस्तावेज़ को खोजता है और मेल खाने वाली स्ट्रिंग्स को बदल देता है, और जब कम से कम एक प्रतिस्थापन होता है तो true लौटाता है।

यह क्लास C++ प्रोग्रामों में PdfContentEditor ऑब्जेक्ट्स के साथ काम करने के लिए 22 मेथड्स प्रदान करती है। उपलब्ध मेथड्स में शामिल हैं: AddDocumentAdditionalAction, AddDocumentAttachment, ChangeViewerPreference, DeleteAttachments, DeleteImage, DeleteStamp, DeleteStampById, DeleteStampByIds, GetViewerPreference, HideStampById, MoveStamp, MoveStampById, और 5 अतिरिक्त मेथड्स। सभी सार्वजनिक सदस्य Aspose.PDF FOSS for C++ पैकेज को इंस्टॉल करने के बाद किसी भी C++ एप्लिकेशन के लिए उपलब्ध हैं। एक्सेसर मेथड्स: DocumentClose, DocumentOpen, DocumentPrinted, DocumentSaved, DocumentWillPrint, DocumentWillSave।

एक्सेसर विधियाँ

नामप्रकारपहुँचविवरण
DocumentOpenstd::stringपढ़ें/लिखेंदस्तावेज़ खोलने को प्राप्त करता है या सेट करता है।
DocumentClosestd::stringपढ़ें/लिखेंदस्तावेज़ बंद को प्राप्त करता है या सेट करता है।
DocumentWillSavestd::stringपढ़ें/लिखेंडॉक्यूमेंट को सहेजने के लिए प्राप्त करता है या सेट करता है।
DocumentSavedstd::stringपढ़ें/लिखेंसहेजे गए दस्तावेज़ को प्राप्त करता है या सेट करता है।
DocumentWillPrintstd::stringपढ़ें/लिखेंदस्तावेज़ को प्रिंट करने के लिए प्राप्त करता है या सेट करता है।
DocumentPrintedstd::stringपढ़ें/लिखेंदस्तावेज़ प्रिंटेड को प्राप्त करता है या सेट करता है।

विधियाँ

हस्ताक्षरविवरण
PdfContentEditor()इस PdfContentEditor instance पर PdfContentEditor को कॉल करता है।
AddDocumentAttachment(path: std::string, description: std::string)इस PdfContentEditor instance पर AddDocumentAttachment(path, description) को कॉल करता है।
DeleteAttachments()इस PdfContentEditor इंस्टेंस पर DeleteAttachments को कॉल करता है।
AddDocumentAdditionalAction(actionName: std::string, javaScript: std::string)इस PdfContentEditor इंस्टेंस पर AddDocumentAdditionalAction(actionName, javaScript) को कॉल करता है।
RemoveDocumentOpenAction()इस PdfContentEditor इंस्टेंस पर RemoveDocumentOpenAction को कॉल करता है।
ChangeViewerPreference(pageLayout: int)इस PdfContentEditor इंस्टेंस पर ChangeViewerPreference(pageLayout) को कॉल करता है।
GetViewerPreference() → intव्यूअर प्राथमिकता लौटाता है।
ReplaceImage(pageNum: int, imageNum: int, fileName: std::string)इस PdfContentEditor इंस्टेंस पर ReplaceImage(pageNum, imageNum, fileName) को कॉल करता है।
DeleteImage(pageNum: int, imageNum: std::vector<int>)इस PdfContentEditor इंस्टेंस पर DeleteImage(pageNum, imageNum) को कॉल करता है।
DeleteImage()
ReplaceText(srcText: std::string, destText: std::string) → boolपूरे दस्तावेज़ को खोजता है और मिलते-जुलते स्ट्रिंग्स को बदलता है, जब कम से कम एक प्रतिस्थापन होता है तो true लौटाता है
ReplaceText(srcText: std::string, pageNum: int, destText: std::string) → boolइस PdfContentEditor इंस्टेंस पर ReplaceText(srcText, pageNum, destText) को कॉल करता है।
ReplaceText(srcText: std::string, destText: std::string, pageNum: int) → boolइस PdfContentEditor इंस्टेंस पर ReplaceText(srcText, destText, pageNum) को कॉल करता है।
DeleteStamp(pageNum: int, stampId: std::vector<int>)इस PdfContentEditor इंस्टेंस पर DeleteStamp(pageNum, stampId) को कॉल करता है।
DeleteStampByIds(stampIds: std::vector<int>)इस PdfContentEditor इंस्टेंस पर DeleteStampByIds(stampIds) को कॉल करता है।
DeleteStampByIds(pageNum: int, stampIds: std::vector<int>)इस PdfContentEditor इंस्टेंस पर DeleteStampByIds(pageNum, stampIds) को कॉल करता है।
DeleteStampById(pageNum: int, stampId: int)इस PdfContentEditor इंस्टेंस पर DeleteStampById(pageNum, stampId) को कॉल करता है।
DeleteStampById(stampId: int)इस PdfContentEditor इंस्टेंस पर DeleteStampById(stampId) को कॉल करता है।
HideStampById(pageNum: int, stampId: int)इस PdfContentEditor उदाहरण पर HideStampById(pageNum, stampId) को कॉल करता है।
ShowStampById(pageNum: int, stampId: int)इस PdfContentEditor इंस्टेंस पर ShowStampById(pageNum, stampId) को कॉल करता है।
MoveStampById(pageNum: int, stampId: int, offsetX: double, offsetY: double)इस PdfContentEditor इंस्टेंस पर MoveStampById(pageNum, stampId, offsetX, offsetY) को कॉल करता है।
MoveStamp(pageNum: int, stampId: int, offsetX: double, offsetY: double)इस PdfContentEditor इंस्टेंस पर MoveStamp(pageNum, stampId, offsetX, offsetY) को कॉल करता है।

यह भी देखें

 हिन्दी