Hello,

I have been using C++ for not so long and today I have find a problem that I know it is not difficult but I haven't done it before so I have no idea.

I have a matrix(System::Drawing::Drawing2D::Matrix^ L) and I want to apply this property OffsetX. since now I have worked with methods (L->method) but I have seen in the help that I should use get I I don't know how to make it.

Could anyone of you help me?
Thank you in advanced!

Recommended Answers

All 2 Replies

OffsetX is a read-only property, so all you can do is get the value:

x = my_matrix->OffsetX;

ok!
I thought it didn't work the same way!!

Thank you so much for your help!!
I mark the thread as solved! ;)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.