<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.1.25080.3" />

PRINTPAGERANGE

Represents a range of pages in a print job. A print job can have more than one page range. This information is supplied in the PRINTDLGEXW structure when calling the PrintDlgEx function.
public uint nFromPage

Type: DWORD The first page of the range.

Read more on https://learn.microsoft.com.

public uint nToPage

Type: DWORD The last page of the range.

Read more on https://learn.microsoft.com.