Hi,
Is it possible to generate PDFs containing transparent gradients?
Setting the alpha component on a solid object (RgbColor) works as expected; it's not fully opaque and any colours behind the show though. Setting the alpha component on GradientStops appears to have no effect; the colors are shown at full opacity
This can be demonstrated with the API documentation example http://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/concepts/colors-and-color-spaces#patterncolor and simply changing the LinearGradient stops to include an alpha value that is less than 255:
linearGradient.GradientStops.Add(
new
GradientStop(
new
RgbColor(10, 0, 207, 0), 0));
linearGradient.GradientStops.Add(
new
GradientStop(
new
RgbColor(10, 0, 102, 204), 1));
When rendered this shows a gradient with full opacity (attached) when it would be expected to be near transparent.
Thanks,
Chris
UI for WPF R2 2016 SP1