Skip to main content
Table of Contents

TTMSFNCPDFGraphicsLibOutputWriter.ConvertColorToString Method

Converts a graphics colour value to the PDF r g b decimal string representation.

API unit family: TMSFNCPDFCoreLibBase Declaring type: TTMSFNCPDFGraphicsLibOutputWriter

Syntax

FMX.TMSFNCPDFCoreLibBase.hppPascalC++
function ConvertColorToString(AValue: TTMSFNCGraphicsColor): String;
System::UnicodeString __fastcall ConvertColorToString(TTMSFNCGraphicsColor AValue);

Parameters

Name Description
AValue Colour to convert.

Returns

PDF decimal string in r g b format with values in the range 0.0–1.0.