VideoEdit Gold ActiveX Control

SubTitleSetShadowColor Method

Description

Set the shadow color of subtitle text.

Syntax

Public Function SubTitleSetShadowColor(
   ByVal iRed as Integer, _
   ByVal iGreen as Integer, _
   ByVal iBlue as Integer, _
   ByVal iAlpha as Integer
}

Parameter
bEnable
    true - show shadow of subtitle text, false - invisible shadow of subtitle text.


No Return Value
 

Example

Visual Basic Syntax
VideoEdit1.UseOverlay = True
VideoEdit1.OverlayType = 1
VideoEdit1.SubTitleLoadFile "c:\mytest.srt"
VideoEdit1.SubTitleSetBg True
VideoEdit1.SubTitleSetBgColor 0, 0, 255, 255
VideoEdit1.SubTitleSetTextColor 255, 255, 255, 255
VideoEdit1.SubTitleSetFont "Arial", 20, 100, False, False, 0
VideoEdit1.SubTitleSetShadow True
VideoEdit1.SubTitleSetShadowColor 0, 0, 0, 255
VideoEdit1.SubTitleSetTopPos -1
VideoEdit1.InitControl
VideoEdit1.AddVideo "c:\hello.mpg" , 0,10,0
VideoEdit1.AddAudio "c:\hello.mpg" , 0,10
VideoEdit1.Preview