Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
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
Pixels_ie16g
New Topic
Reply to Topic
Author
Topic
Bernhard
24 Posts
Posted - Nov 07 2022 : 12:41:58
Hi Nigel,
I am working with C++Builder and try the following code:
void __fastcall TForm1::Button3Click(TObject *Sender) {
int a = View->IEBitmap->Pixels_ie16g[1000, 1000];
}
I get an Copiler error:
[C++ Error] TestView2_Unit.cpp(64, 50): wrong number of index arguments to property. Expecting 2, found 1
Same with other Pixels... properties.
I dont understand what this means; there are 2 index arguments.
Bernhard
xequte
38683 Posts
Posted - Nov 08 2022 : 03:07:44
Hi Bernhard
In C ++ each sub-index has its own square bracket, so the correct declaration would be...
int a = View->IEBitmap->Pixels_ie16g[1000][1000];
Nigel
Xequte Software
www.imageen.com
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page