1
General Board / Re: ShapeScript Image from TaggedValue, Possible ?
« on: January 06, 2024, 08:12:46 pm »
Thank you very much for your feedback
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
image("#TAG:MyTaggedValue#", 0, 0, 100, 100);
The element has a TaggedValue named "MyTaggedValue" that contains a string that corresponds to the name of an image loaded into the image library.var fileName;
var file;
fileName = "c:/temp/storutftestfil.csv";
var stream = new COMObject("ADODB.Stream");
stream.Type = 2 // text data (as apposed to binary data)
stream.Charset = "utf-8";
stream.LineSeparator = -1; // carriage return line feed
stream.Open();
stream.LoadFromFile(fileName);
file = stream.ReadText();
Session.Output("Stream : " + stream.Size);
Session.Output("Line : " + file);
stream.Close();