LitDev Extension API

GW LD3DView LDArray LDBits LDBlueTooth
LDCall LDChart LDClient LDClipboard LDColours
LDCommPort LDController LDControls LDCursors LDDataBase
LDDateTime LDDebug LDDialogs LDDictionary LDEffect
LDEmail LDEncryption LDEvents LDFastArray LDFastShapes
LDFigures LDFile LDFinances LDFocus LDftp
LDGeography LDGraph LDGraphicsWindow LDHashTable LDHID
LDIcon LDImage LDInline LDIOWarrior LDList
LDLogic LDMath LDMathX LDMatrix LDMusic
LDNetwork LDPhysics LDProcess LDQueue LDRegex
LDResources LDScrollBars LDSearch LDServer LDSettings
LDShapes LDShell LDSort LDSound LDSpeech
LDStatistics LDStopwatch LDText LDTextWindow LDTimer
LDTranslate LDUnits LDUtilities LDVector LDWaveForm
LDWebCam LDWindows LDxml LDZip TW

LDWebCam
Provides access to a webcam.

Effect EffectBlocks EffectBlue
EffectBulge EffectContrast EffectCyan
EffectFishEye EffectFuzzy EffectGamma
EffectGray EffectGreen EffectHue
EffectInverse EffectJagged EffectLightness
EffectMagenta EffectNone EffectOilPaint
EffectParameter EffectPixelate EffectPosterise
EffectRed EffectReflect EffectRotate
EffectSaturation EffectSnow EffectSwirl
EffectYellow End Interval
Pause PreWin8Mode Resume
Snapshot SnapshotToFile SnapshotToImageList
Start

Effect
The current effect.
Can be set using the Effect properties.
(e.g. LDWebCam.Effect = LDWebCam.EffectGray).


EffectBlocks

EffectBlue

EffectBulge

EffectContrast

EffectCyan

EffectFishEye

EffectFuzzy

EffectGamma

EffectGray

EffectGreen

EffectHue

EffectInverse

EffectJagged

EffectLightness

EffectMagenta

EffectNone

EffectOilPaint

EffectParameter
Effect parameter - see LDImage effects for the parameter values for effects.

EffectPixelate

EffectPosterise

EffectRed

EffectReflect

EffectRotate

EffectSaturation

EffectSnow

EffectSwirl

EffectYellow

End()
End the webcam display, call this before removing the webcam shape.

Interval
The webcam update minimim delay between updates in ms (default 20).
It will in practice be larger in many cases, especialyy with effects set.


Pause()
Pause the webcam updates.

PreWin8Mode
Use pre-Windows 8 method.
"True" or "False" (default).


Resume()
Resume the webcam updates.

Snapshot()
Take a snapshot and save it as a jpg with a SaveAs dialog.

SnapshotToFile(fileName)
Take a snapshot and save it to a file.
fileName File to save jpg snapshot to.

SnapshotToImageList()
Take a snapshot and save it to the ImageList (memory loaded image).
returns Returns the name of the image that was loaded.

Start(width,height)
Start a webcam display object (SmallBasic shape). If this is called more than once, multiple copies af the same webcam image are be generated.

This object can be moved, zommed, rotated etc using the standard Shapes methods.

Maximum resolution usually at 640 x 480 pixels, smaller may be faster.

width The width of the webcam display object.
height The height of the webcam display object.
returns The name of the webcam display object.