PdfFileInfo
نظرة عامة
PdfFileInfo هي فئة في Aspose.PDF FOSS للـ C++.
PdfFileInfo توفر getters و setters لحقول البيانات الوصفية القياسية مثل Author و Creator، ومفاتيح مخصصة عبر GetMetaInfo(name) و SetMetaInfo(name, value).
توفر هذه الفئة 39 طريقة للعمل مع كائنات PdfFileInfo في برامج C++. تشمل الطرق المتاحة: Author, BindPdf, ClearInfo, CreationDate, Creator, GetMetaInfo, GetPageHeight, GetPageRotation, GetPageWidth, GetPageXOffset, GetPageYOffset, GetPdfVersion، و18 طريقة إضافية. جميع الأعضاء العامة يمكن الوصول إليها من أي تطبيق C++ بعد تثبيت حزمة Aspose.PDF FOSS للـ C++.
الطرق
| التوقيع | وصف |
|---|---|
PdfFileInfo() | يستدعي PdfFileInfo على هذا الكائن PdfFileInfo. |
BindPdf(srcDoc: Aspose::Pdf::Document) | يستدعي BindPdf(srcDoc) على هذا الكائن PdfFileInfo. |
ClearInfo() | يستدعي ClearInfo على هذا الكائن PdfFileInfo. |
GetMetaInfo(name: std::string) → std::string | يستدعي GetMetaInfo(name) على هذا الكائن PdfFileInfo. |
SetMetaInfo(name: std::string, value: std::string) | يضبط قيمة معلومات التعريف. |
GetPageHeight(pageNum: int) → float | يقوم باستدعاء GetPageHeight(pageNum) على مثيل PdfFileInfo هذا. |
GetPageRotation(pageNum: int) → float | يقوم باستدعاء GetPageRotation(pageNum) على مثيل PdfFileInfo هذا. |
GetPageWidth(pageNum: int) → float | يقوم باستدعاء GetPageWidth(pageNum) على مثيل PdfFileInfo هذا. |
GetPageXOffset(pageNum: int) → float | يستدعي GetPageXOffset(pageNum) على هذه المثيلة من PdfFileInfo. |
GetPageYOffset(pageNum: int) → float | يستدعي GetPageYOffset(pageNum) على هذه المثيلة من PdfFileInfo. |
GetPdfVersion() → std::string | يعيد نسخة pdf. |
SaveNewInfo(outputFile: std::string) → bool | يستدعي SaveNewInfo(outputFile) على هذا المثيل من PdfFileInfo. |
SaveNewInfoWithXmp(outputFileName: std::string) → bool | يستدعي SaveNewInfoWithXmp(outputFileName) على هذا المثيل من PdfFileInfo. |
Author() → std::string | يستدعي Author على هذا المثيل من PdfFileInfo. |
Author(value: std::string) | يستدعي Author(value) على هذا مثيل PdfFileInfo. |
CreationDate() → std::string | يستدعي CreationDate على هذا مثيل PdfFileInfo. |
CreationDate(value: std::string) | يستدعي CreationDate(value) على هذا مثيل PdfFileInfo. |
Creator() → std::string | يستدعي Creator على هذا مثيل PdfFileInfo. |
Creator(value: std::string) | يستدعي Creator(value) على هذا الكائن PdfFileInfo. |
Keywords() → std::string | يستدعي Keywords على هذا الكائن PdfFileInfo. |
Keywords(value: std::string) | يستدعي Keywords(value) على هذا المثيل PdfFileInfo. |
ModDate() → std::string | يستدعي ModDate على هذا المثيل PdfFileInfo. |
ModDate(value: std::string) | يستدعي ModDate(value) على هذا المثيل PdfFileInfo. |
Producer() → std::string | يستدعي Producer على هذا المثيل PdfFileInfo. |
Subject() → std::string | يستدعي Subject على هذه المثيلة من PdfFileInfo. |
Subject(value: std::string) | يستدعي Subject(value) على هذه المثيلة من PdfFileInfo. |
Title() → std::string | يستدعي Title على هذه المثيلة من PdfFileInfo. |
Title(value: std::string) | يستدعي Title(value) على هذه المثيلة من PdfFileInfo. |
IsEncrypted() → bool | يرجع true إذا تم تعيين encrypted. |
IsPdfFile() → bool | يرجع true إذا تم تعيين ملف pdf. |
UseStrictValidation() → bool | ينفذ UseStrictValidation على هذا المثيل PdfFileInfo. |
UseStrictValidation(value: bool) | ينفذ UseStrictValidation(value) على هذا المثيل PdfFileInfo. |
HasCollection() → bool | يعيد true إذا كانت المجموعة موجودة. |
InputFile() → std::string | ينفذ InputFile على هذا المثيل PdfFileInfo. |
InputFile(value: std::string) | يستدعي InputFile(value) على هذا المثيل من PdfFileInfo. |
NumberOfPages() → int | يستدعي NumberOfPages على هذا المثيل من PdfFileInfo. |
PasswordType() → Aspose::Pdf::PasswordType | يستدعي PasswordType على هذا المثيل من PdfFileInfo. |
HasOpenPassword() → bool | يرجع true إذا كانت كلمة المرور المفتوحة موجودة. |
HasEditPassword() → bool | يرجع true إذا كان edit password موجودًا. |