preview picture

Home Forums General discussions preview picture

This topic contains 3 replies, has 3 voices, and was last updated by  Joachim Sühlo 1 year, 7 months ago.

  • Author
  • #4357

    Antoine Jullien

    Hi, can i call different picture in the preview picture ?

  • #4358

    Barry Kelly

    For objects you just copy and paste what ever image you want into the ‘Preview Picture’ window when you open and edit the object.


    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • #4359

    Antoine Jullien

    Thanks but i want to know if i can call an image and change the preview by the code ?

  • #4360

    Joachim Sühlo

    If you convert the gsm file with the XML Converter Tool to xml, you can find the binary part of the preview picture.
    It starts with the XML-Tag like this:
    <Picture MIME=”image/png” SectVersion=”19″ SectionFlags=”0″ SubIdent=”0″ length_in_bytes=”9564″ platform=”Win”>
    SubIndent = “0” is always used for the preview picture.
    You can embedd more pictures into the object with use of the XML Converter Tool and use those pictures for example in the User Interface, but as far as I know you cannot change the selection of the preview to another of the embedded pictures.

    GDL Object Developer
    MAC OSx 10.12

You must be logged in to reply to this topic.