Parameter iXpos Specifies the logical x-coordinate of the starting point of the text, must be a value from 0.0 to 1.0
iYpos Specifies the logical y-coordinate of the starting point of the text, must be a value from 0.0 to 1.0
iStyle The style of scrolling type - 0 =No Scroll , 1=Scroll Left, 2=Scroll Right.
pBuffer An Array which contains image file data.
clrTransparentColor The Transparent color of the Image.
iAlphaValue Specifies the alpha blending value; must be a value from 0.0 to 1.0
iSpeed The scrolling speed in milliseconds.
Return Value
No return value
Example
|
Visual Basic Syntax Dim nFileHandle As Integer Dim arBuffer() As Byte Dim nImageID As Long
nFileHandle = FreeFile Open "c:\test1.tif" For Binary As #nFileHandle ReDim arBuffer((LOF(nFileHandle))) Get #nFileHandle, , arBuffer Close #nFileHandle
MoviePlayer1.FileName="c:\test.mpg" MoviePlayer1.Play MoviePlayer1.DrawImage 0,0.5,1,arBuffer, RGB(255,255,255),1,500 Erase arBuffer
|
|