NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Margins Class

Specifies the margins of a printed page.

Object
   Margins

[Visual Basic]
Public Class Margins
   Implements ICloneable
[C#]
public class Margins : ICloneable
[C++]
public __gc class Margins : public ICloneable
[JScript]
public class Margins implements ICloneable

Remarks

This class is used to manipulate margins in PageSettings and PrintController. System.Drawing.Printing.MarginsConvertor is the type descriptor for this class.

Left, Right, Top, and Bottom are properties that define the margins. Clone creates an identical System.Drawing.Printing.Margin. Equals determines if another object is equivalent a System.Drawing.Printing.Margin.

Requirements

Namespace: System.Drawing.Printing

Assembly: System.Drawing.dll

See Also

Margins Members | System.Drawing.Printing Namespace | PageSettings | PrintController | MarginsConverter