Loading a picturebox image from a byte array in VB6

后端 未结 1 995
不知归路
不知归路 2020-12-18 13:18

The question here explains nicely how to convert a picture box image to a byte array in VB6. I want to do the reverse and load my picture box image from a byte array.

<
相关标签:
1条回答
  • 2020-12-18 13:49

    The Size argument is the total number of bytes that comprise the image in the array, Offset is the index of the array where the data begins, this allows a single array to store multiple images.

    If the array contains a single image only, pass it's LBound for Offset and UBound - LBound + 1 for Size.

    0 讨论(0)
提交回复
热议问题