2) public interface of activex control, Customizing vn-e4's built-in viewer – JVC 4ch Network Encoder VN-E4 User Manual

Page 78

Advertising
background image

78

11. Customizing VN-E4's Built-in Viewer

(2) Public Interface of ActiveX Control

Type / Name

Details and HTML/SCRIPT Description Example

Method

SetJpegSize (ch , size)

For specifying JPEG frame size.

Ch

1: ch1 2: ch2 3: ch3 4: ch4

size

0: VGA 1: QVGA

Example: SetJpegSize(1,1); Set JPEG frame size of 1ch to QVGA

Method

SetDispRotate (ch , onoff)

For selecting 180@ rotation during display of JPEG.

Ch

1: ch1 2: ch2 3: ch3 4: ch4

onoff

0: Do not rotate 1: Rotate

Example: SetDispRotate(1,1); Rotate JPEG display of 1ch by 180@

Method

SetDispTitle (ch , onoff)

For selecting title display (internal file information) during display of JPEG.

Ch

1: ch1 2: ch2 3: ch3 4: ch4

onoff

0: Do not display 1: Display

Example: SetDispTitle(1,1); Display title on JPEG display of 1ch

Method

SetEnableCH (ch , onoff)

For selecting JPEG display of each CH.

Ch

1: ch1 2: ch2 3: ch3 4: ch4

onoff

0: Do not display 1: Display

Example: SetEnableCH(1,0); Do not display JPEG of 1ch

Method

SetFrameRate (ch , rate, flag)

JPEG display frame rate.

Ch

1: ch1 2: ch2 3: ch3 4: ch4

rate

(NTSC) 30, 15, 10, 7.5, 6, 5, 3, 2, 1, 1/2, 1/3, 1/5, 1/10, 1/15, 1/20, 1/30
(PAL) 25, 12.5, 8.3, 6.25, 5, 4.1, 3, 2, 1, 1/2, 1/3, 1/5, 1/10, 1/15, 1/20, 1/30

flag

0: 1 fps or higher 1: Less than1 fps

Example: SetFrameRate(1,10,0); Set JPEG rate of 1 ch to 10 fps

Method

OpePassword (password)

For setting operator password (Required when sending audio data).

Example: OpePassword("vn-e4");

Method

SetStill (ch , onoff)

For switching JPEG display between still and animated display.

Ch

1: ch1 2: ch2 3: ch3 4: ch4

onoff

0: Animated display 1: Still display

Example: SetStill(1,1); Display JPEG of 1ch as still image

Method

Capture( )

For saving the JPEG file (of the CH in display).

Example: Capture( ); Save JPEG file

Method

DispOne( )

For switching JPEG display from 4-screen to 1-screen display.

Example: DispOne( ); Switch to 1-screen display

Method

DispFour( )

For switching JPEG display from 1-screen to 4-screen display.

Example: DispFour( ); Switch to 4-screen display

Advertising