PageSetup.border_distance_from 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.... doc = aw . Document () page_setup = doc...page_setup . border_distance_from = aw . PageBorderDistanceFr . PAGE_EDGE...