Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- page
- Page to apply the effect to.
- previewPage
- Page to apply preview of the effect to.
- lights
- Array of objects specifying spotlight parameters.
- darkenBy
- Amount to darken the unilluminated area by. Value of 0.0 results in no darkening; value of 1.0 makes unilluminated area black.
This method creates a reduced size preview for the Spotlights method effect. It accepts the same parameters you would use for the full size image, so you don't have to recalculate them to account for the reduced size of the preview.
The spotlights effect darkens the image and highlights selected areas as if they are illuminated with a spotlight or sunlight.