preview picture

Home Forums General discussions preview picture

Viewing 3 reply threads
  • Author
    Posts
    • #4357
      Antoine Jullien
      Participant

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

    • #4358
      Barry Kelly
      Participant

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

      Barry.

      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
      Participant

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

    • #4360
      Joachim Sühlo
      Participant

      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
      b-prisma
      MAC OSx 10.12

Viewing 3 reply threads
  • The forum ‘General discussions’ is closed to new topics and replies.