How to use set transparency to a SketchPicture

Hello

I want to set Transparency to a Sketchpicture in a drawing. I found the swSketchPictureTransparencyStyle_e Enumeration ( 2020 SOLIDWORKS API Help - swSketchPictureTransparencyStyle_e Enumeration  ) but I dont know how to work it.

Could anyone help me with an example ?

Regards

SolidworksApi/macros