PageMargins

PageMargins class

Represents page margins for printing.

The PageMargins type exposes the following members:

Constructors

NameDescription
PageMargins()Initializes a new instance of the PageMargins class

Properties

NameDescription
topGets or sets the size of the top margin in inches or centimeters.
bottomGets or sets the size of the bottom margin in inches or centimeters.
leftGets or sets the size of the left margin in inches or centimeters.
rightGets or sets the size of the right margin in inches or centimeters.
bordersGets or sets a position where to print borders. Can be one of the values of the Border enumeration.

See Also