Movie Player ActiveX Control

ShowBitmapOnDrawText

 

Show Bitmap and text in same time. Display the overlay bitmap when draw the text on video.

Public Function ShowBitmapOnDrawText( _
  ByVal strImageFile As String , _
  ByVal iXPos As Long, _
  ByVal iYPos As Long
) 

 

Parameter

strImageFile
The bitmap image to be drawn.  

iXpos
Specifies the logical x-coordinate of the starting point of the image.

iYpos
Specifies the logical y-coordinate of the starting point of the image.

Return Value

No return value


Example

   

Visual Basic Syntax
MoviePlayer1.FileName="c:\test.mpg"
MoviePlayer1.Play
MoviePlayer1.ShowBitmapOnDrawText "c:\test.bmp",0,100
MoviePlayer1.DrawText 0,0.5,1,"Testing",20,"Arial", FALSE,FALSE,FALSE, RGB(255,0,0),RGB(255,255,255), RGB(255,255,255),1 ,500,0