page_scale property

page_scale property

Gets calculated page scale of the sheet. Returns the set scale if PageSetup.zoom is set. Otherwise, returns the calculated scale according to PageSetup.fit_to_pages_wide and PageSetup.fit_to_pages_tall.

Example

from aspose.cells import Workbook
from aspose.cells.rendering import ImageOrPrintOptions, SheetRender

wb = Workbook("Book1.xlsx")
sheetRender = SheetRender(wb.worksheets[0], ImageOrPrintOptions())
# Gets calculated page scale of the sheet.
pageScale = sheetRender.page_scale

Definition:

@property
def page_scale(self):
    ...

See Also