PdfContentEditor

PdfContentEditor

Genel Bakış

PdfContentEditor, C++ için Aspose.PDF FOSS içinde bir sınıftır.

PdfContentEditor.ReplaceText(srcText, destText) tüm belgeyi arar ve eşleşen dizeleri değiştirir, en az bir değişiklik gerçekleştiğinde true döndürür.

Bu sınıf, C++ programlarında PdfContentEditor nesneleriyle çalışmak için 22 yöntem sağlar. Mevcut yöntemler şunlardır: AddDocumentAdditionalAction, AddDocumentAttachment, ChangeViewerPreference, DeleteAttachments, DeleteImage, DeleteStamp, DeleteStampById, DeleteStampByIds, GetViewerPreference, HideStampById, MoveStamp, MoveStampById ve 5 ek yöntem. Tüm genel üyeler, Aspose.PDF FOSS for C++ paketini kurduktan sonra herhangi bir C++ uygulaması tarafından erişilebilir. Erişimci yöntemler: DocumentClose, DocumentOpen, DocumentPrinted, DocumentSaved, DocumentWillPrint, DocumentWillSave.

Aksesör Yöntemleri

AdTürErişimAçıklama
DocumentOpenstd::stringOkuma/YazmaBelge açık durumunu alır veya ayarlar.
DocumentClosestd::stringOkuma/YazmaBelge kapanışını alır veya ayarlar.
DocumentWillSavestd::stringOkuma/YazmaBelge kaydedileceğini alır veya ayarlar.
DocumentSavedstd::stringOkuma/YazmaKaydedilen belgeyi alır veya ayarlar.
DocumentWillPrintstd::stringOkuma/YazmaBelgenin yazdırılmasını alır veya ayarlar.
DocumentPrintedstd::stringOkuma/YazmaYazdırılan belgeyi alır veya ayarlar.

Yöntemler

İmzaAçıklama
PdfContentEditor()Bu PdfContentEditor örneğinde PdfContentEditor çağırır.
AddDocumentAttachment(path: std::string, description: std::string)Bu PdfContentEditor örneğinde AddDocumentAttachment(path, description) çağırır.
DeleteAttachments()Bu PdfContentEditor örneğinde DeleteAttachments çağrılır.
AddDocumentAdditionalAction(actionName: std::string, javaScript: std::string)Bu PdfContentEditor örneğinde AddDocumentAdditionalAction(actionName, javaScript) çağrılır.
RemoveDocumentOpenAction()Bu PdfContentEditor örneğinde RemoveDocumentOpenAction çağrılır.
ChangeViewerPreference(pageLayout: int)Bu PdfContentEditor örneğinde ChangeViewerPreference(pageLayout) çağrılır.
GetViewerPreference() → intGörüntüleyici tercihini döndürür.
ReplaceImage(pageNum: int, imageNum: int, fileName: std::string)Bu PdfContentEditor örneğinde ReplaceImage(pageNum, imageNum, fileName) çağrılır.
DeleteImage(pageNum: int, imageNum: std::vector<int>)Bu PdfContentEditor örneğinde DeleteImage(pageNum, imageNum) çağrılır.
DeleteImage()
ReplaceText(srcText: std::string, destText: std::string) → boolTüm belgeyi arar ve eşleşen dizeleri değiştirir, en az bir değişiklik gerçekleştiğinde true döndürür
ReplaceText(srcText: std::string, pageNum: int, destText: std::string) → boolBu PdfContentEditor örneğinde ReplaceText(srcText, pageNum, destText) metodunu çağırır.
ReplaceText(srcText: std::string, destText: std::string, pageNum: int) → boolBu PdfContentEditor örneğinde ReplaceText(srcText, destText, pageNum) metodunu çağırır.
DeleteStamp(pageNum: int, stampId: std::vector<int>)Bu PdfContentEditor örneğinde DeleteStamp(pageNum, stampId) metodunu çağırır.
DeleteStampByIds(stampIds: std::vector<int>)Bu PdfContentEditor örneğinde DeleteStampByIds(stampIds) çağrılır.
DeleteStampByIds(pageNum: int, stampIds: std::vector<int>)Bu PdfContentEditor örneğinde DeleteStampByIds(pageNum, stampIds) çağrılır.
DeleteStampById(pageNum: int, stampId: int)Bu PdfContentEditor örneğinde DeleteStampById(pageNum, stampId) çağrılır.
DeleteStampById(stampId: int)Bu PdfContentEditor örneğinde DeleteStampById(stampId) çağrılır.
HideStampById(pageNum: int, stampId: int)Bu PdfContentEditor örneğinde HideStampById(pageNum, stampId) çağırır.
ShowStampById(pageNum: int, stampId: int)Bu PdfContentEditor örneğinde ShowStampById(pageNum, stampId) çağırır.
MoveStampById(pageNum: int, stampId: int, offsetX: double, offsetY: double)Bu PdfContentEditor örneğinde MoveStampById(pageNum, stampId, offsetX, offsetY) çağırır.
MoveStamp(pageNum: int, stampId: int, offsetX: double, offsetY: double)Bu PdfContentEditor örneğinde MoveStamp(pageNum, stampId, offsetX, offsetY) çağırır.

Ayrıca Bakınız

 Türkçe