PageMargins

PageMargins class

Represents page margins for printing.

Methods

NameDescription
get_BordersGets a position where to print borders. Can be one of the values of the Border enumeration.
get_BottomGets the size of the bottom margin in centimeters.
get_LeftGets the size of the left margin in centimeters.
get_RightGets the size of the right margin in centimeters.
get_TopGets the size of the top margin in centimeters.
set_BordersSets a position where to print borders. Can be one of the values of the Border enumeration.
set_BottomSets the size of the bottom margin in centimeters.
set_LeftSets the size of the left margin in centimeters.
set_RightSets the size of the right margin in centimeters.
set_TopSets the size of the top margin in centimeters.