XlsPageSetupBase module

class XlsPageSetupBase.XlsPageSetupBase

Bases: XlsObject, IPageSetupBase

property AlignWithMargins: int
<summary>

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

</summary>

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

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

</summary>

property CenterFooterPictureWidth: int
<summary>

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

</summary>

property CenterHeader: str
property CenterHeaderImage: Stream
property CenterHeaderPictureHeight: int
<summary>

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

</summary>

property CenterHeaderPictureWidth: int
<summary>

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

</summary>

property CenterHorizontally: bool
property CenterVertically: bool
property Copies: int
Copy(source: PageSetup)
property CustomPaperSizeName: str
<summary>

Returns or sets the name of custom paper that is from printer.

</summary>

static DEFAULT_BOTTOM_MARGIN() float
static DEFAULT_LEFT_MARGIN() float
static DEFAULT_RIGHT_MARGIN() float
static DEFAULT_TOP_MARGIN() float
property DifferentFirst: int
<summary>

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

</summary>

property DifferentOddEven: int
<summary>

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

</summary>

property Draft: bool
property EvenFooterString: str
<summary>

Gets OddEven page footer string. Read only.

</summary>

property EvenHeaderString: str
<summary>

Gets Even page header string. Read only.

</summary>

property FirstFooterString: str
<summary>

Gets first page footer string. Read only.

</summary>

property FirstHeaderString: str
<summary>

Represents first page header string. Read only.

</summary>

property FirstPageNumber: int
property FitToPagesTall: int
property FitToPagesWide: int
property FooterMarginInch: float
property FullFooterString: str
<summary>

Gets footer full string. Read only.

</summary>

property FullHeaderString: str
<summary>

Represents full header string. Read only.

</summary>

GetStoreSize(version: ExcelVersion) int
property HResolution: int
<summary>

Gets or sets horizontal resolution in dpi.

</summary>

property HeaderMarginInch: float
property IsAutoPaperSize: bool
<summary>

Returns whether paper size is automatic. Read only.

</summary>

property IsSettingsNotValid: bool
property LeftFooter: str
property LeftFooterImage: Stream
property LeftFooterPictureHeight: int
<summary>

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

</summary>

property LeftFooterPictureWidth: int
property LeftHeader: str
property LeftHeaderImage: Stream
property LeftHeaderPictureHeight: int
<summary>

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

</summary>

property LeftHeaderPictureWidth: int
<summary>

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

</summary>

property LeftMargin: float
property ODSPageBackground: OdsPageBackground
<summary>

Returns ods page background. Read-only.

</summary>

property OddFooterString: str
<summary>

Gets Odd page footer string. Read only.

</summary>

property OddHeaderString: str
<summary>

Gets Odd page header string. Read only.

</summary>

property Order: OrderType
property Orientation: PageOrientationType
property PageHeight: float
<summary>

Returns page width in points. Read-only.

</summary>

property PageWidth: float
<summary>

Returns page width in points. Read-only.

</summary>

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
<summary>

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

</summary>

property RightFooterPictureWidth: int
<summary>

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

</summary>

property RightHeader: str
property RightHeaderImage: Stream
property RightHeaderPictureHeight: int
<summary>

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

</summary>

property RightHeaderPictureWidth: int
<summary>

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

</summary>

property RightMargin: float
property ScaleWithDoc: int
<summary>

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

</summary>

SetCustomPaperSize(width: float, height: float)
<summary>

Sets the custom paper size. Unit mm.

</summary>

property StreamPos: int
property TopMargin: float
property VResolution: int
<summary>

Gets or sets vertical resolution in dpi.

</summary>

property Zoom: int