Home    MontiVision DirectShow SDK Documentation Prev Next
MontiVision Development Kit
Product Release Notes
What's new?
Installation
Overview
Components
The MontiVision Workbench
How to use the Workbench
How to insert an Filter
How to make a connction between two filter
How to change filter properties
How to get mediatypes of a pin or connection
How to delete a connection
How to delete a filter
How to find a filter
How to select a filter, pin or connection
How to make a video visible
How to preview a video stream
Workbench Menus and Commands
File menu commands
Edit menu commands
View menu commands
Graph menu commands
Extras menu commands
Help menu commands
Context menu commands
Status Bar
Toolbar
Sorting Filters
MontiVision DirectShow Filter
Common filter functions
MV Absolute Difference
MV Advanced Optical Flow
MV Affine Transformation
MV Alignment
MV Audio Test Source
MV Batch Image File Source
MV Background Subtraction
MV Bayer To Gray
MV Bayer To RGB
MV Bitmap Overlay
MV Blob Counter
MV Blob Finder
MV BlockRecording
MV Buffer Access
MV Camera Calibration
MV Camera Syncronisation
MV Camera Undistortion
MV Color Filter
MV Color Channel Mixer
MV Color Space Converter
MV Color To Gray
MV Color Twist
MV Constant Framerate
MV Convolution
MV Cooccurrence
MV Crop
MV Deinterlace
MV DeInterlace Temporal
MV Delay
MV Demo Source
MV Demultiplexer
MV DPS Renderer
MV DPS Source
MV Dyadic Arithmetic
MV Dyadic Logic
MV Fast Color Filter
MV Frame Access
MV Gauge
MV GDI Overlay
MV Gray To Color
MV Image File Source
MV Image Grabber
MV Image File Renderer
MV Integral
MV Inverse
MV I/O Bool Source
MV I/O Comparator
MV I/O Logic
MV I/O Not
MV I/O Renderer
MV I/O RS232
MV I/O RS232 Trigger Source
MV I/O Switch Source
MV I/O Textfile Renderer
MV I/O Textfile Source
MV I/O To String
MV IP Camera Source
MV Look Up Table
MV Mean
MV Mean Profile
MV Merge Frames
MV Mirror
MV MJPEG Compressor
MV MJPEG Decompressor
MV Mondic Arithmetic
MV Mondic Logic
MV Morphology
MV Motion Detection
MV Motion Direction
MV Multi File Writer
MV Network Renderer
MV Network Source
MV Nonlinear Filter
MV Object Tracker
MV Optical Flow
MV Playlist Source
MV Polar
MV Presence Detection
MV Profile
MV Recording
MV ReInterlace
MV Resize
MV Resized Rotation
MV Rotate90
MV Rotation
MV Segmentation
MV Select Mediatype
MV Separate Fields
MV Smooth Sequence
MV Splitter
MV Text Overlay
MV Ticker Overlay
MV Topography
MV Trigger Source
MV Video File Overlay
MV Video Overlay
MV Video Scaler
MV Watchdog
MV Zoom
Filter Event Mechanism
MontiVision DirectShow Filter SDK
Create a new Filter SDK DLL
Implement your custom Algorithm
Register the Filter SDK DLL
Use the new DirectShow Filter
Debugging a DirectShow Filter
Configure a Filter SDK DirectShow Filter
MontiVision Smart ActiveX Control
MV Smart Control Functions
MV Smart Control Interfaces
IMVSmartControl
IMVSCFilterGraph
IMVSCFilterGraph2
IMVSCVideoWindow
IMVSCVideoWindow2
IMVSCFullScreen
IMVSCSetFile
IMVSCSetSourceFilter
IMVSCSelectInput
IMVSCSetupVideoStream
IMVSCSetupVideoStream2
IMVSCClock
IMVSCFilterProperties
IMVSCLog
IMVSCCameraControl
IMVSCFilterEvents
IMVSCMediaSeeking
IMVSCMediaSeeking2
IMVSCQualityProperties
IMVSCFilterData
IMVSCCommonProperties
IMVSCExtDeviceControl
IMVSCVideoControl
IMVSCAnalogVideoFormat
IMVSCTVTuner
IMVSCTVAudio
Application Development with the MV Smart Control
Visual Basic 6.0
Visual Basic .NET
Visual C++ 6.0
Visual C++ .NET
Borland Delphi
MV Smart Control Samples
AviPlay Sample
CropVideo Sample
DirFinder Sample
FindObject Sample
FullScreen Sample
ImageStream Sample
IP Camera Sample
LiveDraw Sample
LoadFromString Sample
LumeneraCameraProperties Sample
MotionDetection Sample
PutBitmap Sample
SendReceiveRS232 Sample
MV Smart Control How To's
How to handle Input Events (Mouse, Keyboard) of the Video Window
How to Select and Configure a Video Input Device
How to handle Multiple Video Outputs
How to use Fullscreen Functionality
How to access the Results of a MontiVsion DirectShow Filter
MontiVision Utility ActiveX Controls
Video Source Combo Box
Video Format Combo Box
Video Size Combo Box
Input Selection Combo Box
Frame Rate Combo Box
Seeking Slider
Filter Property Page Display
Trigger Button
MontiVision I/O Controls
MVIODisplay
MVIOMonitor
MVIOLed
MVIOOutput
VMR Wrapper ActiveX Control
MV VMR Wrapper Interfaces
IMVVMRWrapper
IMVVMRFilterConfig
IMVVMRMixerControl
IMVVMRMixerBitmap
MV VMR Wrapper Sample Applications
VMR Control Sample
VMR Bitmap Overlay Sample
Extended Video Source ActiveX Control
MV Extended Video Source Control Interfaces
IMVExtendedVideoSource Interface
IMVLumeneraCustomConfig Interface
_IMVExtendedVideoSourceEvents Interface
MontiVision Tools
Getting Started
Create a MontiVision Project
Create a MontiVision Project using the MontiVision Workbench
Create new DirectShow Filters using the MontiVision Filter SDK
Use the new DirectShow Filter in your MontiVision Project
Integrate the MontiVision Project into your Application
Distribute your Application
Distributing your Applications
Application Development Examples
Apply standard Image Processing Operators to a Video Stream
Process a Sequence of Still Images, Do Batch Processing
Make your Existing Algorithms DirectShow compatible
Creating your own Image/Video Processing DirectShow Filters
Access the Image Data of a Video Stream directly from within a Windows Application
Capture Still Images from a running Video Stream
Convert a Video Stream to a Sequence of Still Images or vice versa
Sample Applications using the Smart Control
Camera Calibration
Additional HowTo's
How to Set Up Visual C++ for the MontiVision Development Kit
How to Set Up Borland Delphi for the MontiVision Development Kit
How to Set Up Borland Delphi 2005 for the MontiVision Development Kit
Interface Reference
_IMVFilterPropertyControlEvents
_IMVSeekingSliderEvents
_IMVSmartControlEvents
_ISelectInputComboBoxEvents
_IVideoFormatComboBoxEvents
_IVideoSizeComboBoxEvents
_IVideoSourceComboBoxEvents
IMVAbout
IMVAdvancedOpticalFlow
IMVAdvancedOpticalFlow2
IMVAffineTransformation
IMVAlignment
IMVAudioTestSource
IMVAutoCalcSetup
IMVBackgroundSubtraction
IMVBatchFileSource2
IMVBatchFileSource3
IMVBatchFileSource
IMVBinary
IMVBitmapOverlay
IMVBitmapOverlay2
IMVBlobCounter
IMVBlobCounter2
IMVBlobCounter3
IMVBlobCounter4
IMVBlobFinder
IMVBlobFinder2
IMVBlobFinder3
IMVBlobPostProcessing
IMVBlobPreProcessing
IMVBlockRecording
IMVBufferAccess
IMVBufferAccessCallbackC
IMVBufferAccessCallbackVB
IMVCameraCalibration
IMVCameraSync
IMVCameraUndistortion
IMVColor
IMVColorChannelMixer
IMVColorTwist
IMVConstantFramerate
IMVConvolution
IMVCooccurrence
IMVCrop
IMVCrypt
IMVDeinterlace
IMVDeInterlaceTemporal
IMVDelay
IMVDemoSource
IMVDemoSource2
IMVDPSRenderer
IMVDPSSource
IMVDyArith
IMVDyLogic
IMVEnumAudioEncoder
IMVEnumVideoEncoder
IMVFastColor
IMVFilterData
IMVFilterEvents
IMVFilterInfo
IMVFilterPropertyControl
IMVFilterSDK
IMVFrameAccess
IMVFrameAccessCallbackC
IMVFrameAccessCallbackVB
IMVGauge
IMVGaugeCalculations
IMVGDIOverlay
IMVGray
IMVGrayToColor
IMVGrid
IMVHistogram
IMVHistogram2
IMVHistogram3
IMVImageCapture
IMVImageCapture2
IMVImageCapture3
IMVImageFileSource
IMVImageFileSource2
IMVImageFileSource3
IMVImageInfo
IMVIntegral
IMVIOBoolSource
IMVIOBoolSource2
IMVIOComparator
IMVIOIntRenderer
IMVIOIntSource
IMVIOIntSource2
IMVIOLogic
IMVIONot
IMVIORenderer
IMVIORS232
IMVIORS232DataASCII
IMVIORS232DataHex.htm
IMVIORS232RxTxConnection
IMVIORS232TriggerSource
IMVIOSwitchSource
IMVIOTextfileRenderer
IMVIOTextfileSource
IMVIOToString
IMVIPCameraSource
IMVIPCameraSource2
IMVLinFilter
IMVLookUpTable
IMVMask
IMVMean
IMVMeanProfile
IMVMerger
IMVMirror
IMVMonArith
IMVMonLogic
IMVMorphology
IMVMotionDetection
IMVMotionDetection2
IMVMotionDirection
IMVMultiFileWriter
IMVNetworkReceiveInfo
IMVNetworkRenderer
IMVNetworkRenderer2
IMVNetworkRenderer3
IMVNetworkSendInfo
IMVNetworkSource
IMVNetworkSource2
IMVNonLinFilter
IMVObjectTracker
IMVOpticalFlow
IMVOpticalFlow2
IMVPlaylist
IMVPlaylistSource
IMVPolar
IMVPresenceDetection
IMVProfile
IMVRecording
IMVRegionOfInterest
IMVReinterlace
IMVResize
IMVResizedRotation
IMVRotate90
IMVRotation
IMVSCAnalogVideoFormat
IMVSCCameraControl
IMVSCCommonProperties
IMVSCClock
IMVSCExtDeviceControl
IMVSCFilterData
IMVSCFilterEvents
IMVSCFilterGraph
IMVSCFilterGraph2
IMVSCFilterProperties
IMVSCFullScreen
IMVSCLog
IMVSCMediaSeeking
IMVSCMediaSeeking2
IMVSCQualityProperties
IMVSCSelectInput
IMVSCSetFile
IMVSCSetSourceFilter
IMVSCTVTuner
IMVSCTVAudio
IMVSCVideoControl
IMVSCSetupVideoStream
IMVSCSetupVideoStream2
IMVSCVideoWindow
IMVSCVideoWindow2
IMVSeekingSlider
IMVSetImageFormat
IMVSmartControl
IMVSeparateFields
IMVSmoothSequence
IMVTextOverlay
IMVTextOverlay2
IMVTextOverlay3
IMVTickerOverlay
IMVTickerOverlay2
IMVTopography
IMVTrigger
IMVTriggerFilter
IMVVideoFileOverlay
IMVVideoScaler
IMVVMRFilterConfig
IMVVMRMixerBitmap
IMVVMRMixerControl
IMVVMRWrapper
IMVWatchdog
IMVZoom
IMVZoomConfig
ISelectInputComboBox
IVideoFormatComboBox
IVideoSizeComboBox
IVideoSourceComboBox

IMVTextOverlay

The IMVTextOverlay Interface contains methods to configure the MV Text Overlay Filter.

BackgroundColor Specifies the background colour for the drawn text..
Bold Specifies whether the text is drawn bold.
Enable Enables or disables the text overlay.
FontSize Font height.
FontTypeFace Font typeface.
ForegroundColor Text colour.
OverlayMode The filters overlay mode.
PositionMode The filters position mode, absolute or relative.
RelativePosition Relative text position.
Shadow Enables or disables shadow for the drawn text.
ShadowColor Shadow colour.
ShadowOffset Offset used to draw the text shadow.
Text Specifies the text to draw.
TransparentBack Specifies whether a transparent background is used for drawing.
xMargin Horizontal margin width.
XPosition Horizontal text position.
yMargin Vertical margin height.
YPosition Vertical text position.

Header file: IMVTextOverlay.h
Interface definition language file: IMVTextOverlay.idl
Typelib: MVTextOverlay
Interface ID: IID_IMVTextOverlay


Property IMVTextOverlay::BackgroundColor

Declaration: Property Get/Put BackgroundColor As Long

Specifies the background colour for the drawn text..

Prototype:

HRESULT put_BackgroundColor(OLE_COLOR Color);
HRESULT get_BackgroundColor(OLE_COLOR* Color);


Property IMVTextOverlay::Bold

Declaration: Property Get/Put Bold As Boolean

Specifies whether the text is drawn bold.

Prototype:

HRESULT put_Bold(BOOL Enable);
HRESULT get_Bold(BOOL* Enable);


Property IMVTextOverlay::Enable

Declaration: Property Get/Put Enable As Boolean

Enables or disables the text overlay.

Prototype:

HRESULT put_Enable(BOOL Enable);
HRESULT get_Enable(BOOL* Enable);


Property IMVTextOverlay::FontSize

Declaration: Property Get/Put FontSize As Long

Font height.

Prototype:

HRESULT put_FontSize(int Size);
HRESULT get_FontSize(int* Size);


Property IMVTextOverlay::FontTypeFace

Declaration: Property Get/Put FontTypeFace As String

Font typeface.

Prototype:

HRESULT put_FontTypeFace(BSTR Type);
HRESULT get_FontTypeFace(BSTR* Type);


Property IMVTextOverlay::ForegroundColor

Declaration: Property Get/Put ForegroundColor As Long

Text colour.

Prototype:

HRESULT put_ForegroundColor(OLE_COLOR Color);
HRESULT get_ForegroundColor(OLE_COLOR* Color);


Property IMVTextOverlay::OverlayMode

Declaration: Property Get/Put OverlayMode As Long

The filters overlay mode as MV_TEXT_OVERLAY_MODE.

typedef enum _MV_TEXT_OVERLAY_MODE 
{
MV_TEXT_OVERLAY_MODE_TEXT,
MV_TEXT_OVERLAY_MODE_DATE,
}MV_TEXT_OVERLAY_MODE;
Prototype:

HRESULT put_OverlayMode(int Mode);
HRESULT get_OverlayMode(int* Mode);


Property IMVTextOverlay::PositionMode

Declaration: Property Get/Put PositionMode As Long

The filters position mode as MV_POSITION_MODE.

typedef enum _MV_POSITION_MODE 
{
MV_POSITION_RELATIVE,
MV_POSITION_ABSOLUTE,
}MV_POSITION_MODE;
Prototype:

HRESULT put_PositionMode(int Mode);
HRESULT get_PositionMode(int* Mode);


Property IMVTextOverlay::RelativePosition

Declaration: Property Get/Put RelativePosition As Long

Relative text position as MV_RELATIVE_POSITION.

typedef enum _MV_RELATIVE_POSITION 
{
MV_POSITION_UPPER_LEFT,
MV_POSITION_UPPER_RIGHT,
MV_POSITION_LOWER_RIGHT,
MV_POSITION_LOWER_LEFT
}MV_RELATIVE_POSITION;

Prototype:

HRESULT put_RelativePosition(int Position);
HRESULT get_RelativePosition(int* Position);


Property IMVTextOverlay::Shadow

Declaration: Property Get/Put Shadow As Boolean

Enables or disables shadow for the drawn text.

Prototype:

HRESULT put_Shadow(BOOL Enable);
HRESULT get_Shadow(BOOL* Enable);


Property IMVTextOverlay::ShadowColor

Declaration: Property Get/Put ShadowColor As Long

Shadow colour.

Prototype:

HRESULT put_ShadowColor(OLE_COLOR Color);
HRESULT get_ShadowColor(OLE_COLOR* Color);


Property IMVTextOverlay::ShadowOffset

Declaration: Property Get/Put ShadowOffset As Long

Offset used to draw the text shadow.

Prototype:

HRESULT put_ShadowOffset(int Offset);
HRESULT get_ShadowOffset(int* Offset);


Property IMVTextOverlay::Text

Declaration: Property Get/Put Text As String

Specifies the text to draw. The placeholder _DATE_TIME_ was replaced by the current time/date text.

Placeholder Content
_DATE_TIME_ Current date and time
_DATE_ Current date
_TIME_ Current time
Prototype:

HRESULT put_Text(BSTR Text);
HRESULT get_Text(BSTR* Text);


Property IMVTextOverlay::TransparentBack

Declaration: Property Get/Put TransparentBack As Boolean

Specifies whether a transparent background is used for drawing.

Prototype:

HRESULT put_TransparentBack(BOOLEAN Enable);
HRESULT get_TransparentBack(BOOLEAN* Enable);


Property IMVTextOverlay::xMargin

Declaration: Property Get/Put xMargin As Long

Horizontal margin width.

Prototype:

HRESULT put_xMargin(int Width);
HRESULT get_xMargin(LONG* Width);


Property IMVTextOverlay::XPosition

Declaration: Property Get/Put XPosition As Long

Horizontal text position.

Prototype:

HRESULT put_XPosition(int Position);
HRESULT get_XPosition(int* Position);


Property IMVTextOverlay::yMargin

Declaration: Property Get/Put yMargin As Long

Vertical margin height.

Prototype:

HRESULT put_yMargin(int Height);
HRESULT get_yMargin(int* Height);


Property IMVTextOverlay::YPosition

Declaration: Property Get/Put YPosition As Long

Vertical text position.

Prototype:

HRESULT put_YPosition(int Position);
HRESULT get_YPosition(int* Position);