THotPDF.WriteRebuiltStream Method

 

THotPDF.WriteRebuiltStream

THotPDF

 

Top

Internal method. Overwrites a stream object's bytes with Rebuilt content, drops /Filter so the saved PDF stays valid (rebuilt content is uncompressed), refreshes /Length, and marks dirty. Used by the text-replace path.

 

Delphi syntax:

procedure WriteRebuiltStream(Strm: THPDFStreamObject; const Rebuilt: TBytes);

 

Description

Internal method. Overwrites a stream object's bytes with Rebuilt content, drops /Filter so the saved PDF stays valid (rebuilt content is uncompressed), refreshes /Length, and marks dirty. Used by the text-replace path.