Demo_BitmapOffset (OBJPROP_XOFFSET and OBJPROP_YOFFSET) - MetaTrader 5 script

Here is an example using the OBJPROP_XOFFSET and OBJPROP_YOFFSET properties. Watch the video: https://www.mql5.com/en/forum/3509/page1#comment_55145 .
This feature will allow you to use images with a set of multiple images (like CSS sprites used in the web).

Important: To use the OBJPROP_XOFFSET and OBJPROP_YOFFSET properties, you must specify the size of the visible area using the OBJPROP_XSIZE and OBJPROP_YSIZE properties.
To compile the script, extract the files from archive files.zip to the terminal data folder \MQL5\Files\.
To launch the compiled version of the script (Demo_BitmapOffset.ex5), download and place it to the terminal data folder \MQL5\Scripts\.
suggestion:
Attachment download
📎 demo_bitmapoffset.mq5 (3.67 KB)
📎 demo_bitmapoffset.ex5 (1672.72 KB)
Source: MQL5 #325
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •