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
 Pixels_ie16g

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
Bernhard 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
1   L A T E S T    R E P L I E S    (Newest First)
xequte 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