Author Topic: Is it possible to add a transient bitmap?  (Read 117 times)

0 Members and 1 Guest are viewing this topic.

huiz

  • Swamp Rat
  • Posts: 744
  • Certified Prof C3D
Is it possible to add a transient bitmap?
« on: December 13, 2016, 07:21:01 am »
It is quite easy to add transient objects like a polyline or circle. But a RasterImage is a reference to a RasterImageDef. So if I want to add a transient bitmap as a RasterImage, I first have to add the RasterImageDef to the dictionary.

Is it possible to show a transient bitmap without adding it to the dictionary first? I want to load several images from a wmts service and replace them while zooming. I rather not constantly load and unload RasterImageDefs. I also can't find examples about RasterImages as transient object.

Or can I add a RasterImageDef also as a transient object?
The conclusion is justified that the initialization of the development of critical subsystem optimizes the probability of success to the development of the technical behavior over a given period.

dgorsman

  • Water Moccasin
  • Posts: 2111
Re: Is it possible to add a transient bitmap?
« Reply #1 on: December 13, 2016, 10:30:11 am »
I seem to remember wipeouts being unreferenced images, so it could be possible.  Or at least a starting point for more research.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}