Ticket T679170
Visible to All Users

XtraSplashScreen with SVG image

created 6 years ago

Dear DevEx-team,

currently I use an XtraSplashScreen with ShowMode = Form and a PictureBox on it with its Image property set to a png raster image.

For providing "real" DPI-awareness in our application I want now to use an SVG image instead of the raster image.
Because I couldn't find a property like "SVGImage" for the XtraSplashScreen I think I have to go the way described here
and provide a rendered SVG image on a PictureEdit.

Or is there a simpler way like just assigning an SVG image to the XtraSplashScreen.Image property with ShowMode = Image ?

Best regards
Harald

Answers approved by DevExpress Support

created 6 years ago (modified 6 years ago)

Hello,
As you mentioned, you are using the standard PictureBox  control. You can replace this control with our PictureEdit control. This control supports SVG images out of the box. You can set the desired image by using the SvgImage property. This property sets the vector image displayed by the editor. Please test this approach and let me know if it's applicable in your scenario.

    Show previous comments (2)

      Hi Dmitry,

      Is there any way to provide an SvgImage for the SplashScreen.SplashImage when the SplashScreen.ShowMode is set to Image?

      Thanks!

      Alex

      DevExpress Support Team 6 years ago

        Hi Alex,
        Thank you for contacting us.
        Currently, the SplashScreen.SplashImage property doesn't support SVG images. However, we agree that this functionality can be very helpful in scenarios like yours. So, I created the SplashScreen - The SplashImage property doesn't support the use of SVG images ticket and passed it to our developers for further research. You will get a notification when we get any progress.
        Meanwhile, you can use Dmitry's solution or use the SplashScreenManager.ShowImage method.

          Thanks Maxim. I will follow the new ticket.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.