Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
klausdoege
Posted - Aug 22 2017 : 09:54:01 Hi, i have testet with the Example from Imageen Forum "Native Layers2" Follow i have found. When i change TIELineLayer(ImageEnView1.CurrentLayer).BorderColor then it's change the Linecolor. When i change TIELineLayer(ImageEnView1.CurrentLayer).BorderWidth then it's change the Linewidth. When i set the Bordercolor = clnone then no change, the Border is visible. When i set Borderwidth = 0 then the Line not more visible. I hope you can clarify this. I cant not set the Border on not visible. Not with Borderwidth=0 and not with Bordercolor=clnone. The green border from the drawlayerbox its ever to see ?
// Prompt user to load new image into current image layer and log the result
if TIEImageLayer( ImageEnView1.CurrentLayer ).ExecuteOpenDialog() then
AddToLog( format( 'Loaded image into layer %d: %s', [ ImageEnView1.LayersCurrent, TIEImageLayer( ImageEnView1.CurrentLayer ).Bitmap.Filename ]));
Posted - Aug 26 2017 : 04:03:46 Hi Nigel, Labelborder was the good tip, thank you. I have still one question. TIEImageLayer (ImageEnView1.CurrentLayer) .ExecuteOpenDialog (); How do I get the filename from the above call? I would like to insert it here. Example: ImageEnView1.Layers [iLayer] .Name: = opendialog.Filename;