Click here to Skip to main content
15,912,069 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: converting 24bit color depth image to 1bpp image Pin
pnpfriend16-Dec-08 9:43
pnpfriend16-Dec-08 9:43 
GeneralRe: converting 24bit color depth image to 1bpp image Pin
Christian Graus16-Dec-08 9:58
protectorChristian Graus16-Dec-08 9:58 
GeneralRe: converting 24bit color depth image to 1bpp image Pin
Dave Kreskowiak16-Dec-08 13:34
mveDave Kreskowiak16-Dec-08 13:34 
AnswerRe: converting 24bit color depth image to 1bpp image Pin
Christian Graus16-Dec-08 8:53
protectorChristian Graus16-Dec-08 8:53 
QuestionCallerID doesn't show up , even when I use a Demo of CallerID app Pin
Yasser Daheek16-Dec-08 5:49
Yasser Daheek16-Dec-08 5:49 
AnswerRe: CallerID doesn't show up , even when I use a Demo of CallerID app Pin
cpkilekofp16-Dec-08 5:58
cpkilekofp16-Dec-08 5:58 
QuestionTwo Questions Pin
Quecumber25616-Dec-08 4:11
Quecumber25616-Dec-08 4:11 
AnswerRe: Two Questions Pin
Dave Kreskowiak16-Dec-08 8:54
mveDave Kreskowiak16-Dec-08 8:54 
1. The origin is not moved on the form. It's moved (mathematically) when your object is being drawn. The transformation alters the coordinates of the drawn object, not the coordinates of the drawing surface.

You can see an example of this here[^]. This particular example just moves the origin down and to the right 50 pixels. Look into the other methods exposed by the Transform class to move and orient the origin how you want.

2. This is a simple loop, For...Step...Next. The Step value is your "adjustibility". For exmaple, drawing line every other pixel would be:
For I As Integer = 0 to 500 Step 2
   ....
Next



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Two Questions Pin
Quecumber25616-Dec-08 9:51
Quecumber25616-Dec-08 9:51 
GeneralRe: Two Questions Pin
Dave Kreskowiak16-Dec-08 10:36
mveDave Kreskowiak16-Dec-08 10:36 
GeneralRe: Two Questions Pin
Quecumber25616-Dec-08 12:09
Quecumber25616-Dec-08 12:09 
QuestionHow to get a list of all the properties in a class? Pin
H3rmansson16-Dec-08 3:56
H3rmansson16-Dec-08 3:56 
GeneralRe: How to get a list of all the properties in a class? Pin
Luc Pattyn16-Dec-08 4:03
sitebuilderLuc Pattyn16-Dec-08 4:03 
QuestionClient-Server application Pin
Subjugate16-Dec-08 3:05
Subjugate16-Dec-08 3:05 
AnswerRe: Client-Server application Pin
EliottA16-Dec-08 3:07
EliottA16-Dec-08 3:07 
GeneralRe: Client-Server application Pin
Subjugate16-Dec-08 3:12
Subjugate16-Dec-08 3:12 
GeneralRe: Client-Server application Pin
EliottA16-Dec-08 3:14
EliottA16-Dec-08 3:14 
GeneralRe: Client-Server application Pin
Subjugate16-Dec-08 3:17
Subjugate16-Dec-08 3:17 
GeneralRe: Client-Server application Pin
Subjugate17-Dec-08 16:36
Subjugate17-Dec-08 16:36 
GeneralRe: Client-Server application Pin
EliottA17-Dec-08 17:01
EliottA17-Dec-08 17:01 
GeneralRe: Client-Server application Pin
Subjugate17-Dec-08 18:39
Subjugate17-Dec-08 18:39 
GeneralRe: Client-Server application Pin
EliottA18-Dec-08 2:59
EliottA18-Dec-08 2:59 
GeneralRe: Client-Server application Pin
Subjugate18-Dec-08 3:13
Subjugate18-Dec-08 3:13 
GeneralRe: Client-Server application Pin
EliottA18-Dec-08 3:23
EliottA18-Dec-08 3:23 
GeneralRe: Client-Server application Pin
Subjugate21-Dec-08 21:27
Subjugate21-Dec-08 21:27 

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.