ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TIELineLayer... border problem

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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 ?



Klaus
www.klausdoege.de
4   L A T E S T    R E P L I E S    (Newest First)
klausdoege Posted - Aug 30 2017 : 09:56:53
Hi Nigel,
thank you this is what i search.

Klaus
www.klausdoege.de
xequte Posted - Aug 27 2017 : 22:54:50
Hi Klaus

Here is an example:

// 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 ]));




Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
klausdoege 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;

Best regards
Klaus

Klaus
www.klausdoege.de
xequte Posted - Aug 22 2017 : 17:19:06
Hi Klaus

BorderColor and BorderWidth are just shortcut properties:

https://www.imageen.com/help/TIELayer.BorderColor.html


For TIELineLayer, you should be using its specific properties, such as

TIELineLayer.LineColor
TIELineLayer.LineWidth
TIELineLayer.LabelBorderColor
TIELineLayer.LabelBorderWidth

https://www.imageen.com/help/TIELineLayer.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com