PageSettings.HardMarginY Property

 

Gets the y-coordinate, in hundredths of an inch, of the hard margin at the top of the page.

Namespace:   System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

public float HardMarginY { get; }

Property Value

Type: System.Single

The y-coordinate, in hundredths of an inch, of the hard margin at the top of the page.

The hard margin represents the physical margin set by the printer.

SecurityPermission

for access to unmanaged code. Related enumeration: UnmanagedCode.

PrintingPermission

for full access to all printers. Related enumeration: AllPrinting

.NET Framework
Available since 2.0
Return to top
Show: