Results 1 to 2 of 2

Thread: Extending a Graphics object's VisibleClipBounds

Threaded View

  1. #1

    Thread Starter
    New Member DarkInnate's Avatar
    Join Date
    Sep 2002
    Location
    Montreal, QC, Canada
    Posts
    3

    Question Extending a Graphics object's VisibleClipBounds

    Hello,

    I'm a somewhat experienced VB programmer and I've just switched to VB .net, and I'm having a few difficulties. I'm currently coding some kind of level editor for a game I plan to make. Basically, the levels are composed of a bunch of polygons that represent terrain (drawn on a form), which will eventually be rendered. My program is at its very early stages. Ok, so enough of the jiba jaba and straight to point... My problem is, the rectangular drawing space on my form is too small. I'd like to make it as big as the form itself. I believe the property responsible for this is my Graphics object's VisibleClipBounds property. I'm pretty sure of it. The problem is I don't know how to set these visible clip bounds! I tried ' g.VisibleClipBounds.Size.Width = value ' and stuff like that but the compiler says that the ' VisibleClipBounds property is read-only ', and VERY helpful sh*t like that ( sorry for being rude). I've looked everywhere on the web and in the MSDN Library to resolve this problem, but found nothing. I'm getting tired of this!

    So please, O programming gurus, could you help me out?

    Thanks a lot!
    Last edited by DarkInnate; Sep 23rd, 2002 at 07:19 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width