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

function ConvertColorToString(AValue: TTMSFNCGraphicsColor): String;

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.