Click or drag to resize
PicoXLSX

WorksheetZoomFactor Property

Gets or sets the zoom factor of the ViewType of the current worksheet. If AUTO_ZOOM_FACTOR, the zoom factor is set to automatic

Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 3.4.2+f55916d49ef2baa43fc7dc8f5c7d751a77c50baf
Syntax
C#
public int ZoomFactor { get; set; }

Property Value

Int32
Exceptions
ExceptionCondition
WorksheetExceptionThrows a WorksheetException if the zoom factor is not AUTO_ZOOM_FACTOR or below MIN_ZOOM_FACTOR or above MAX_ZOOM_FACTOR
Remarks
It is possible to add further zoom factors for inactive view types, using the function SetZoomFactor(WorksheetSheetViewType, Int32)
See Also