Click here to Skip to main content
15,900,973 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: DVD Event Handling Pin
KaldaP15-Oct-08 6:12
KaldaP15-Oct-08 6:12 
GeneralRe: DVD Event Handling Pin
Jim Crafton15-Oct-08 6:19
Jim Crafton15-Oct-08 6:19 
QuestionToolbar icons Pin
pacoxl14-Oct-08 6:27
pacoxl14-Oct-08 6:27 
QuestionHow to intersect GraphicsPaths? Pin
CherezZaboro14-Oct-08 2:19
CherezZaboro14-Oct-08 2:19 
QuestionLarge images and memory issue Pin
riobui13-Oct-08 22:03
riobui13-Oct-08 22:03 
QuestionForm not shown completely in output window - winCE .net Pin
sayana_here9-Oct-08 21:44
sayana_here9-Oct-08 21:44 
QuestionQuestion about the project template. Pin
Jack_Dracon8-Oct-08 6:37
Jack_Dracon8-Oct-08 6:37 
QuestionCopy partial Image from another image. VB .net 3.5 Pin
CAN Coder7-Oct-08 7:44
CAN Coder7-Oct-08 7:44 
Actually related to transparent text box.
The simple solution was to define a "large" Label with background set to transparent since a "textbox" can't be transparent. Although "DrawString" works well enough. I would like to set the "textbox" background to the image underneath and use standard text display.

A sample:

Dim Some_Image As Image
Some_Image = Image.FromFile("Test.bmp")
'For testing the bmp is 312x445

'Hard-coded Co-ordinates for testing
Using gr As Graphics = Graphics.FromImage(Some_Image)

Dim StartPoint As New System.Drawing.Point(17, 200)
Dim EndPoint As New System.Drawing.Point(0, 0)
Dim SizeClip As New System.Drawing.Size(181, 96)

Dim TextBackground As Image

TextBackground = gr.CopyFromScreen(StartPoint, EndPoint, SizeClip)

Label1.Image = TextBackground
Label1.Text = "Overlay Text"

End Using 'gr

'Paste up the image
PictureBox1.Image = Some_Image

The "CopyFromScreen" won't compile. Error="Expression does not return a value"

Commenting that statement out and replacing with
Label1.image=Image.FromFile("someotherimage.bmp") works

Hope I explained this clearly!
AnswerRe: Copy partial Image from another image. VB .net 3.5 Pin
Mark Salsbery7-Oct-08 8:11
Mark Salsbery7-Oct-08 8:11 
QuestionRect flickrs outside of the the app area Pin
gabbana7-Oct-08 4:16
gabbana7-Oct-08 4:16 
AnswerRe: Rect flickrs outside of the the app area Pin
gabbana7-Oct-08 5:25
gabbana7-Oct-08 5:25 
QuestionGraphics how to start ???? Pin
Larsfrom4-Oct-08 9:19
Larsfrom4-Oct-08 9:19 
AnswerRe: Graphics how to start ???? Pin
gabbana7-Oct-08 4:22
gabbana7-Oct-08 4:22 
QuestionBBM format-Deluxe Paint Brush image format Pin
gtag3-Oct-08 7:54
gtag3-Oct-08 7:54 
AnswerRe: BBM format-Deluxe Paint Brush image format Pin
Drew Stainton4-Oct-08 6:41
Drew Stainton4-Oct-08 6:41 
GeneralRe: BBM format-Deluxe Paint Brush image format Pin
gtag7-Oct-08 20:10
gtag7-Oct-08 20:10 
GeneralRe: BBM format-Deluxe Paint Brush image format Pin
Drew Stainton7-Oct-08 20:18
Drew Stainton7-Oct-08 20:18 
GeneralRe: BBM format-Deluxe Paint Brush image format Pin
gtag16-Oct-08 3:07
gtag16-Oct-08 3:07 
GeneralRe: BBM format-Deluxe Paint Brush image format Pin
Drew Stainton16-Oct-08 5:01
Drew Stainton16-Oct-08 5:01 
GeneralRe: BBM format-Deluxe Paint Brush image format Pin
gtag16-Oct-08 18:54
gtag16-Oct-08 18:54 
QuestionFire Rendering Pin
Benzino1-Oct-08 7:16
Benzino1-Oct-08 7:16 
AnswerRe: Fire Rendering Pin
Drew Stainton3-Oct-08 15:42
Drew Stainton3-Oct-08 15:42 
AnswerRe: Fire Rendering Pin
Benzino4-Oct-08 10:30
Benzino4-Oct-08 10:30 
AnswerRe: Fire Rendering Pin
Xeqtr12-Oct-08 11:28
Xeqtr12-Oct-08 11:28 
QuestionFlattening a drawn line Pin
vdtwo30-Sep-08 0:24
vdtwo30-Sep-08 0:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.