TTMSFNCPDFGraphicsLibOutputWriter.NotifyShading Method
Fires
OnNotifyShadingto request a gradient shading resource reference from the document-level resource manager.
API unit family: TMSFNCPDFCoreLibBase
Declaring type: TTMSFNCPDFGraphicsLibOutputWriter
Syntax
procedure NotifyShading(AFillColor: TTMSFNCGraphicsColor; AFillColorTo: TTMSFNCGraphicsColor; AFillOrientation: TTMSFNCGraphicsFillOrientation; var AShadingReference: String);
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. |