Skip to main content
Table of Contents

TTMSFNCPDFGraphicsLibOutputWriter.NotifyShading Method

Fires OnNotifyShading to request a gradient shading resource reference from the document-level resource manager.

API unit family: TMSFNCPDFCoreLibBase Declaring type: TTMSFNCPDFGraphicsLibOutputWriter

Syntax

FMX.TMSFNCPDFCoreLibBase.hppPascalC++
procedure NotifyShading(AFillColor: TTMSFNCGraphicsColor; AFillColorTo: TTMSFNCGraphicsColor; AFillOrientation: TTMSFNCGraphicsFillOrientation; var AShadingReference: String);
void __fastcall NotifyShading(TTMSFNCGraphicsColor AFillColor, TTMSFNCGraphicsColor AFillColorTo, TTMSFNCGraphicsFillOrientation AFillOrientation, System::UnicodeString &AShadingReference);

Parameters

Name Description
AFillColor Starting colour of the gradient.
AFillColorTo Ending colour of the gradient.
AFillOrientation Direction of the gradient fill. See TTMSFNCGraphicsFillOrientation.
AShadingReference Set by the handler to the PDF shading resource name for this gradient.