PageSetup.rightMargin property. Returns or sets the distance (in points) between the right edge of the page and the right boundary of the body text....PageSetup.rightMargin property. Returns or sets the distance (in points) between the right edge of the page and the right boundary of the body text.