PageSetup.line_number_distance_from_text property. Gets or sets distance between the right edge of line numbers and the left edge of the document.... line_number_count_by = 3 page_setup . line_number_restart_mode...the 15th, # and continue the count from that point onward. doc...