PageEffect Property
In This Topic
Gets or sets the bitmap effect, which will apply to the rendered page of the document displayed in the GdViewer control.
Syntax
Example
How to set the drop shadow effect for the rendered page.
'We assume that the GdViewer1 control has been properly integrated. Dim newEffect As System.Windows.Media.Effects.DropShadowEffect = New System.Windows.Media.Effects.DropShadowEffect() newEffect.Opacity = 0.5F GdViewer1.PageEffect = newEffect
//We assume that the GdViewer1 control has been properly integrated.
System.Windows.Media.Effects.DropShadowEffect newEffect = New System.Windows.Media.Effects.DropShadowEffect();
newEffect.Opacity = 0.5f;
GdViewer1.PageEffect = newEffect;
See Also