PageSettings.HardMarginX Property

 

Gets the x-coordinate, in hundredths of an inch, of the hard margin at the left of the page.

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

public float HardMarginX { get; }

Property Value

Type: System.Single

The x-coordinate, in hundredths of an inch, of the left-hand hard margin.

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: