Visual Basic 6.0 Data Report how to rotate the print out.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jorgeny
    New Member
    • Mar 2018
    • 4

    Visual Basic 6.0 Data Report how to rotate the print out.

    I have my App in Visual Basic 6.0 and I need to rotate the print out to fit the label. Thanks in advance for your suggestions. I am attaching the screen capture.
    Attached Files
  • abeLuna
    New Member
    • Mar 2018
    • 13

    #2
    I would need a little bit more information about what you are using to draw that label. Are you using a third-party control, or just the built-in drawing functions that come with .NET? If you are using the .NET drawing methods, you can call RotateTransform member of the Graphics object. Here is some docs: https://docs.microsoft.com/en-us/dot...ramework-4.7.1

    If you need more help, let me know.

    Abraham Andres Luna - https://giftedart.gear.host

    Comment

    • jorgeny
      New Member
      • Mar 2018
      • 4

      #3
      @abeLuna, I am using Visual Basic 6.0 and also the tool DataReport that comes with Visual Basic 6.0. I don't see any option to rotate the label.

      Comment

      • abeLuna
        New Member
        • Mar 2018
        • 13

        #4
        OK, I understand where you are with your problem. I looked up the methods and properties of the DataReport object and they don't have any methods to rotate the page. So I was wondering, what if you showed the Print Dialog box, would you be able to use that window to rotate the label before printing?

        Comment

        • jorgeny
          New Member
          • Mar 2018
          • 4

          #5
          Unfortunately the printer don't rotate the content ( label) Just let me change from portrait to Horizontal, but this only change the paper but the content continues printing the same. Thanks.

          Comment

          • abeLuna
            New Member
            • Mar 2018
            • 13

            #6
            What if you go to the report designer and click on the labels you have placed on that form, and then go to properties. Is there a property on that control that allows you to position or rotate it?

            Comment

            Working...