SplashScreenManager.ShowImage(SvgImage, Size, Boolean, Boolean, SplashFormStartPosition, Point, ICustomImagePainter, Int32) Method

Creates a splash form with a vector image inside and displays this form after the specified delay. Allows you to draw custom graphics over the splash image, resize and manually arrange it, and enable fade-in and fade-out effects.

Namespace: DevExpress.XtraSplashScreen

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public static void ShowImage(
    SvgImage svgImage,
    Size imageSize,
    bool useFadeIn,
    bool useFadeOut,
    SplashFormStartPosition startPos,
    Point location,
    ICustomImagePainter painter,
    int pendingTime
)
Public Shared Sub ShowImage(
    svgImage As SvgImage,
    imageSize As Size,
    useFadeIn As Boolean,
    useFadeOut As Boolean,
    startPos As SplashFormStartPosition,
    location As Point,
    painter As ICustomImagePainter,
    pendingTime As Integer
)

Parameters

Name Type Description
svgImage SvgImage

An SvgImage to be drawn.

imageSize Size

A Size structure that is the image size.

useFadeIn Boolean

true, to use the fade-in effect when the image appears on-screen; otherwise, false.

useFadeOut Boolean

true, to use the fade-out effect when the image hides; otherwise, false. Use the SplashScreenManager.HideImage method to hide a splash form image.

startPos SplashFormStartPosition

The splash form's arrangement.

location Point

Coordinates at which the splash form is shown (if the startPos parameter is set to Manual).

painter DevExpress.XtraSplashScreen.ICustomImagePainter

An ICustomImagePainter object that implements a custom drawing procedure.

pendingTime Int32

The time in milliseconds that should elapse before the splash form is actually displayed on-screen. If a close command is sent to the splash form during this time, the splash form will not be displayed.

Remarks

Call the SplashScreenManager.HideImage method to show the splash form.

See the Splash Image topic for examples.

See Also