'We assume that the GdViewer1 control has been properly integrated.
Sub buttonChangeShadow_Click(ByVal sender As Object, ByVal e As EventArgs)
'Let us say you have designed a button in your GdViewer control with the name "Change Shadow".
'Cliking this button you can see how the drop shadow effect applies to GdPicture/XMP annotations within the displayed document.
GdViewer1.AnnotationDropShadow = Not GdViewer1.AnnotationDropShadow
End Sub
//We assume that the GdViewer1 control has been properly integrated.
void buttonAddStickyNote_Click(object sender, EventArgs e)
{
//Let us say you have designed a button in your GdViewer control with the name "Change Shadow".
//Cliking this button you can see how the drop shadow effect applies to GdPicture/XMP annotations within the displayed document.
GdViewer1.AnnotationDropShadow = !GdViewer1.AnnotationDropShadow;
}