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 موجودًا.

انظر أيضاً

 العربية