PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Can I show .SVG files in WX18 ?
Can I show .SVG files in WX18 ?
Iniciado por guest, 05,dic. 2015 10:36 - 3 respuestas
Publicado el 05,diciembre 2015 - 10:36
Hi there

Using WD18 or Explorer I can show a bunch of .JPG files on the screen. But now I need to show a lot of .SVG files (vector) in a program. Is there any known way of doing this ?

Best regards
Viggo Poulsen
Publicado el 05,diciembre 2015 - 15:02
Hi

a regular image fields does support svg, but I don't know since when. So check in your local help of version 18 for the image control. There is a list of supported formats

Best regards
Publicado el 05,diciembre 2015 - 17:20
Hi Fabrice

Thank you. According to the help, SVG images is supported. I will test it out.

Best regards
Viggo Poulsen.
Publicado el 05,diciembre 2015 - 17:32
Ok, here are the result:

In the example WD HTML Album I can use drag and drop to select an image. This image is not shown correctly if it is a SVG file.
BUT
If I put a button on the window with this code:
sFile is string = fImageSelect("", "", "Select an image...")

THEN the selector shows the content of the SVF file. Just what I need.

Best regards
Viggo Poulsen