PageSetup.borderDistanceFrom property. Gets or sets a value that indicates whether the specified page border is measured from the edge of the page or from the text it surrounds....PageSetup.borderDistanceFrom property. Gets or sets a value that indicates whether the specified page border is measured from the edge of the page or from the text it surrounds.