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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Number of elements in TIEShape - С++
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

graph_man

328 Posts

Posted - Nov 09 2023 :  14:10:45  Show Profile  Reply
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)

xequte

38682 Posts

Posted - Nov 09 2023 :  14:24:38  Show Profile  Reply
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
Go to Top of Page

graph_man

328 Posts

Posted - Nov 09 2023 :  14:26:06  Show Profile  Reply
Thanks.
Go to Top of Page

graph_man

328 Posts

Posted - Nov 09 2023 :  14:31:16  Show Profile  Reply
I don't have that constant.
Version 11.4.5
Go to Top of Page

xequte

38682 Posts

Posted - Nov 10 2023 :  03:30:58  Show Profile  Reply
You might want to add it to your code and remove it when you install the new version.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: