Drg orientation in Layout

Discussion in 'AutoCAD' started by PeteB, Aug 8, 2003.

  1. PeteB

    PeteB Guest

    Hi
    Does anyone know how to set the drawing orientation (ie. landscape/portrait)
    for a particular layout using vba.
    I can set the paper size using obj.CanonicalMediaName, but can't see how to
    set the orientation.

    thanks
    PeteB
     
    PeteB, Aug 8, 2003
    #1
  2. PeteB

    Ed Jobe Guest

    Use the PlotRotation property. ac0degrees would be portrait and ac90degrees
    would be landscape.
     
    Ed Jobe, Aug 8, 2003
    #2
  3. PeteB

    PeteB Guest

    Cheers Ed
    I thought I'd tried changing this, but I can see now that the PlotRotation
    property is also (obviously) tied in with the CanonicalMediaName property.
     
    PeteB, Aug 9, 2003
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.