Click here to Skip to main content
15,880,392 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

I am using VS2008,Vb.net with window application.
How to apply font name,font size (from fontdialog )for AxvideograbberNet1.OverlayText_Font.

Here is my code:-

VB
Dim fd As New FontDialog
        If fd.ShowDialog() = Windows.Forms.DialogResult.OK Then

            MainForm.DefInstance.AxVideoGrabberNET1.TextOverlay_Font = fd.Font.ToHfont().ToInt32()

            'apply for setting........
dim intFontName as integer
            intFontName = fd.Font.ToHfont().ToInt32()

        End If


my problem is...
1. how can assign fontname , fontsize in MainForm.DefInstance.AxVideoGrabberNET1.TextOverlay_Font.

i have no idea how to solve this issue. can any one help me...

Regards
mukesh
Posted
Updated 7-Oct-12 22:50pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900