SetFitToPages

PageSetup.SetFitToPages method

Sets the number of pages the worksheet will be scaled to when it’s printed.

public void SetFitToPages(int wide, int tall)
Parameter Type Description
wide Int32 Pages wide.
tall Int32 Pages tall.

See Also