|
-
Oct 12th, 2005, 07:34 AM
#2
Re: Set ScaleHeight of PictureBox
The Height property depends on the ScaleMode of the Form it resides on and also what kind of border the PictureBox has. The ScaleHeight doesn't include the border. If you use the normal 3D-look the border is 2 pixels in height but you have the border in both the upper and lower sides meaning that the height is ScaleHeight + 4 pixels. You might need to recalculate that into Twips or whatever scalemode you have for the Form.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|