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
 Number of elements in TIEShape - С++

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
graph_man Posted - Nov 09 2023 : 14:10:45
Hello,

How to programmatically get the number of elements in TIEShape?

I need to fill TComboBox

but c++ does not have these functions

High(TIEShape) and Low(TIEShape)
4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 10 2023 : 03:30:58
You might want to add it to your code and remove it when you install the new version.

Nigel
Xequte Software
www.imageen.com
graph_man Posted - Nov 09 2023 : 14:31:16
I don't have that constant.
Version 11.4.5
graph_man Posted - Nov 09 2023 : 14:26:06
Thanks.
xequte Posted - Nov 09 2023 : 14:24:38
Hi

In hyiedefs, there is the const MAX_SHAPE which is the last item in the TIEShape array (minimum is iesEllipse), so count would be ord( MAX_SHAPE ) + 1.

Nigel
Xequte Software
www.imageen.com