Locking image to WebImageViewer

In the WebImageViewer.Opening event, try “cover” or “contain” for the background image size:

Me.Style.Value("background-size") = "cover" // Try also "contain"

Is this what you need?

1 Like