# How to set the custom image for VideoView?

Video Capture SDK .Net , Video Edit SDK .Net , Media Player SDK .Net

You can set the custom image for the VideoView control.

The image is visible only when the control is not playing any video.

# Sample code

Create the picture box with a defined image size (call it one time):

VideoView1.PictureBoxCreate(VideoView1.Width, VideoView1.Height);

Set the image:

VideoView1.PictureBoxCreate(VideoView1.Width, VideoView1.Height);

Destroy the picture box when it it no longer required (call it one time):

VideoView1.PictureBoxDestroy();

Visit our GitHub page to get more code samples.