XlsPageSetupBase module

class XlsPageSetupBase.XlsPageSetupBase

Bases: XlsObject, IPageSetupBase

property AlignWithMargins: int

Indicates whether align header footer margins with page margins.default is 1

property AutoFirstPageNumber: bool
property BackgoundImage: Stream
property BlackAndWhite: bool
property BottomMargin: float
property CenterFooter: str
property CenterFooterImage: Stream
property CenterFooterPictureHeight: int

Gets or set height of picture for center part of the footer.

property CenterFooterPictureWidth: int

Gets or set width of picture for center part of the footer.

property CenterHeader: str
property CenterHeaderImage: Stream
property CenterHeaderPictureHeight: int

Gets or set height of picture for center part of the header.

property CenterHeaderPictureWidth: int

Gets or set width of picture for center part of the header.

property CenterHorizontally: bool
property CenterVertically: bool
property Copies: int
Copy(source: PageSetup)
static DEFAULT_BOTTOM_MARGIN() float
static DEFAULT_LEFT_MARGIN() float
static DEFAULT_RIGHT_MARGIN() float
static DEFAULT_TOP_MARGIN() float
property DifferentFirst: int

Indicates whether different first page header and footer.default is 0

property DifferentOddEven: int

Indicates whether different odd and even page headers and footers.default is 0

property Draft: bool
property EvenFooterString: str

Gets OddEven page footer string. Read only.

property EvenHeaderString: str

Gets Even page header string. Read only.

property FirstFooterString: str

Gets first page footer string. Read only.

property FirstHeaderString: str

Represents first page header string. Read only.

property FirstPageNumber: int
property FitToPagesTall: int
property FitToPagesWide: int
property FooterMarginInch: float
property FullFooterString: str

Gets footer full string. Read only.

property FullHeaderString: str

Represents full header string. Read only.

GetStoreSize(version: ExcelVersion) int
property HResolution: int

Gets or sets horizontal resolution in dpi.

property HeaderMarginInch: float
property IsAutoPaperSize: bool

Returns whether paper size is automatic. Read only.

property IsSettingsNotValid: bool
property LeftFooter: str
property LeftFooterImage: Stream
property LeftFooterPictureHeight: int

Gets or set height of picture for left part of the footer.

property LeftFooterPictureWidth: int
property LeftHeader: str
property LeftHeaderImage: Stream
property LeftHeaderPictureHeight: int

Gets or set height of picture for left part of the header.

property LeftHeaderPictureWidth: int

Gets or set width of picture for left part of the header.

property LeftMargin: float
property ODSPageBackground: OdsPageBackground

Returns ods page background. Read-only.

property OddFooterString: str

Gets Odd page footer string. Read only.

property OddHeaderString: str

Gets Odd page header string. Read only.

property Order: OrderType
property Orientation: PageOrientationType
property PageHeight: float

Returns page width in points. Read-only.

property PageWidth: float

Returns page width in points. Read-only.

property PaperSize: PaperSizeType
property PrintComments: PrintCommentType
property PrintErrors: PrintErrorsType
property PrintNotes: bool
property PrintQuality: int
property RecordCode: int
property RightFooter: str
property RightFooterImage: Stream
property RightFooterPictureHeight: int

Gets or set height of picture for right part of the footer.

property RightFooterPictureWidth: int

Gets or set width of picture for right part of the footer.

property RightHeader: str
property RightHeaderImage: Stream
property RightHeaderPictureHeight: int

Gets or set height of picture for right part of the header.

property RightHeaderPictureWidth: int

Gets or set width of picture for right part of the header.

property RightMargin: float
property ScaleWithDoc: int

Indicates whether scale header and footer with document scaling.default is 1

SetFirstCenterFooterImage(value: Stream)
SetFirstCenterFooterPictureHeight(value: int)
SetFirstCenterFooterPictureWidth(value: int)
SetFirstCenterHeaderImage(value: Stream)
SetFirstCenterHeaderPictureHeight(value: int)
SetFirstCenterHeaderPictureWidth(value: int)
SetFirstLeftFooterImage(value: Stream)
SetFirstLeftFooterPictureHeight(value: int)
SetFirstLeftFooterPictureWidth(value: int)
SetFirstLeftHeaderImage(value: Stream)
SetFirstLeftHeaderPictureHeight(value: int)
SetFirstLeftHeaderPictureWidth(value: int)
SetFirstRightFooterImage(value: Stream)
SetFirstRightFooterPictureHeight(value: int)
SetFirstRightFooterPictureWidth(value: int)
SetFirstRightHeaderImage(value: Stream)
SetFirstRightHeaderPictureHeight(value: int)
SetFirstRightHeaderPictureWidth(value: int)
property StreamPos: int
property TopMargin: float
property VResolution: int

Gets or sets vertical resolution in dpi.

property Zoom: int