PageSettings.Bounds : PageSettings « System.Drawing.Printing « VB.Net by API






PageSettings.Bounds

  
Imports System
Imports System.Drawing.Printing

Module Client

    Sub Main()
        Dim pd As PrintDocument = New PrintDocument()
        Dim pg As PageSettings = pd.DefaultPageSettings
    
    
        Console.WriteLine("Is Color = " + pg.Color.ToString())
        Console.WriteLine("Top Bound = " + pg.Bounds.Top.ToString())
        Console.WriteLine("Bottom Bound = " + pg.Bounds.Bottom.ToString())
        Console.WriteLine("Left Bound = " + pg.Bounds.Left.ToString())
        Console.WriteLine("Right Bound = " + pg.Bounds.Right.ToString())
    
    End Sub

End Module

   
    
  








Related examples in the same category

1.PageSettings.Kind
2.PageSettings.PaperSize
3.PageSettings.PaperSource
4.PageSettings.PrinterResolution