Click or drag to resize

ExcelPrintOptionsAutomaticPageBreakScalingFactor Property

Scaling factor for automatic page breaks.

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version:
public int AutomaticPageBreakScalingFactor { get; set; }

Property Value

Type: Int32
ArgumentOutOfRangeExceptionValue is out of 10 to 400 range.

Unit is one percent. Value must be between 10 and 400.

Default value for this property is 100.

MS Excel inserts automatic page breaks depending on this scaling factor. Smaller it gets, bigger will be the distance between the two automatic page breaks.

If you set this property, FitToPage will automatically be set to .

See Also