AnsweredAssumed Answered

Can I create a CIMMarker from an in-memory bitmap?

Question asked by mrubelmann on Jun 9, 2016
Latest reply on Jun 9, 2016 by mrubelmann



I'm trying to create a marker from a bitmap, which can be done with SymbolFactory.ConstructMarkerFromFileAsync().  Is there a way to do the same thing with an in-memory bitmap instead of a file?  Either a Stream or a System.Drawing.Bitmap object would be fine.  For now I'm just writing the image to a temporary file and reading it from there, but that's just kind of dirty and hackish in my opinion.  A minor detail, I know, but it irritates me when SDKs operate on files instead of streams!