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 אם סיסמת עריכה קיימת. |