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

ראה גם

 עברית