Skip to main content
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

FMX.TMSFNCPDFCoreLibBase.hppPascalC++
function CompressString(AValue: string): TStringStream;
System::Classes::TStringStream* __fastcall CompressString(System::UnicodeString AValue);

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.