THotPDF.LoadFromStream

THotPDF

 

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

Loads an existing PDF file from stream.

 

Delphi syntax:

function LoadFromStream ( DocStream: TStream ): Integer;

function LoadFromStream ( DocStream: TStream; const Password: AnsiString ): Integer;

 

C++ syntax:

int __fastcall LoadFromStream ( Classes::TStream* DocStream );

int __fastcall LoadFromStream ( Classes::TStream* DocStream, System::AnsiString Password );

 

תיאור

Call  LoadFromStream to load an existing PDF document from stream. Function LoadFromStream returns count of pages in the loaded document.

השתמש ב-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: LoadFromFile, DecryptLoadedDocument