Table of Contents

TTMSFNCPDFGraphicsLibOutputWriter.CompressString Method

Compresses AValue using zlib deflate and returns the result in a new TStringStream.

API unit family: TMSFNCPDFCoreLibBase Declaring type: TTMSFNCPDFGraphicsLibOutputWriter

Syntax

function CompressString(AValue: string): TStringStream;

Parameters

Name Description
AValue String data to compress.

Returns

New stream containing the deflate-compressed bytes. The caller is responsible for freeing the returned stream.