Table of Contents

TTMSFNCPDFGraphicsLibOutputWriter.OnNotifyShading Event

Fired when a gradient fill shading resource is needed, allowing the caller to register or look up the shading in the resource dictionary.

API unit family: TMSFNCPDFCoreLibBase Declaring type: TTMSFNCPDFGraphicsLibOutputWriter

Syntax

OnNotifyShading: TTMSFNCPDFGraphicsLibOutputWriterNotifyShadingEvent;

Parameters

Name Description
Sender The output writer that needs the shading resource.
AFillColor The starting color of the gradient fill.
AFillColorTo The ending color of the gradient fill.
AFillOrientation The direction of the gradient fill.
AShadingReference Set by the handler to the PDF resource name that identifies the shading object.