THotPDF.LoadFromFile

THotPDF

 

למעלה  הקודם  הבא

Loads an existing PDF file.

 

Delphi syntax:

function LoadFromFile ( FileName: TFileName ): Integer;

function LoadFromFile ( FileName: TFileName; const Password: AnsiString ): Integer;

 

C++ syntax:

int __fastcall LoadFromFile ( AnsiString FileName );

int __fastcall LoadFromFile ( AnsiString FileName, System::AnsiString Password );

 

תיאור

Call  LoadFromFile to load an existing PDF file. Function LoadFromFile returns count of pages in the loaded file.

השתמש ב-overload עם סיסמה עבור קובצי PDF מוצפני RC4-40 או RC4-128 Standard. ‏HotPDF מאמתת סיסמת user או owner, מפענחת strings ו-streams טעונים בזיכרון, מנקה את מצב ההצפנה הטעון ומאפשרת ל-SaveLoadedDocument לכתוב עותק לא מוצפן. encryption revisions שאינם נתמכים מעלים חריגה

בעת ייבוא אובייקטי PDF קיימים, HotPDF מפענחת רצפי escape של PDF name בצורת #XX לפי ISO 32000-1 לפני שמירת ערכי name פנימית. שמות כגון /PANTONE#20216#20CVC, ‏/lime#20Green ו-/The_Key_of_F#23_Minor נשמרים כערכי byte המיועדים בעת העתקה או שמירה מאוחרת

 

 

See also: LoadFromStream, DecryptLoadedDocument