Class XlsPageSetupBase
- Namespace
- Spire.Xls.Core.Spreadsheet
- Assembly
- Spire.XLS.dll
public class XlsPageSetupBase : XlsObject, IDisposable, IPageSetupBase, IExcelApplication
- Inheritance
-
XlsPageSetupBase
- Implements
- Derived
- Inherited Members
Fields
DEFAULT_BOTTOM_MARGIN
public const double DEFAULT_BOTTOM_MARGIN = 1
Field Value
DEFAULT_LEFT_MARGIN
public const double DEFAULT_LEFT_MARGIN = 0.75
Field Value
DEFAULT_RIGHT_MARGIN
public const double DEFAULT_RIGHT_MARGIN = 0.75
Field Value
DEFAULT_TOP_MARGIN
public const double DEFAULT_TOP_MARGIN = 1
Field Value
Properties
AlignWithMargins
Indicates whether align header footer margins with page margins.default is 1
public byte AlignWithMargins { get; set; }
Property Value
AutoFirstPageNumber
public bool AutoFirstPageNumber { get; set; }
Property Value
BackgoundImage
public SKBitmap BackgoundImage { get; set; }
Property Value
- SKBitmap
BlackAndWhite
public bool BlackAndWhite { get; set; }
Property Value
BottomMargin
public double BottomMargin { get; set; }
Property Value
CenterFooter
public string CenterFooter { get; set; }
Property Value
CenterFooterImage
public SKBitmap CenterFooterImage { get; set; }
Property Value
- SKBitmap
CenterFooterPictureCropBottom
Gets or set crop bottom height of picture for center part of the footer,in unit of centimeters.
public double CenterFooterPictureCropBottom { get; set; }
Property Value
CenterFooterPictureCropLeft
Gets or set crop left width of picture for center part of the footer,in unit of centimeters.
public double CenterFooterPictureCropLeft { get; set; }
Property Value
CenterFooterPictureCropRight
Gets or set crop right width of picture for center part of the footer,in unit of centimeters.
public double CenterFooterPictureCropRight { get; set; }
Property Value
CenterFooterPictureCropTop
Gets or set crop top height of picture for center part of the footer,in unit of centimeters.
public double CenterFooterPictureCropTop { get; set; }
Property Value
CenterFooterPictureHeight
Gets or set height of picture for center part of the footer.
public int CenterFooterPictureHeight { get; set; }
Property Value
CenterFooterPictureWidth
Gets or set width of picture for center part of the footer.
public int CenterFooterPictureWidth { get; set; }
Property Value
CenterHeader
public string CenterHeader { get; set; }
Property Value
CenterHeaderImage
public SKBitmap CenterHeaderImage { get; set; }
Property Value
- SKBitmap
CenterHeaderPictureCropBottom
Gets or set crop bottom height of picture for center part of the header,in unit of centimeters.
public double CenterHeaderPictureCropBottom { get; set; }
Property Value
CenterHeaderPictureCropLeft
Gets or set crop left width of picture for center part of the header,in unit of centimeters.
public double CenterHeaderPictureCropLeft { get; set; }
Property Value
CenterHeaderPictureCropRight
Gets or set crop right width of picture for center part of the header,in unit of centimeters.
public double CenterHeaderPictureCropRight { get; set; }
Property Value
CenterHeaderPictureCropTop
Gets or set crop top height of picture for center part of the header,in unit of centimeters.
public double CenterHeaderPictureCropTop { get; set; }
Property Value
CenterHeaderPictureHeight
Gets or set height of picture for center part of the header.
public int CenterHeaderPictureHeight { get; set; }
Property Value
CenterHeaderPictureWidth
Gets or set width of picture for center part of the header.
public int CenterHeaderPictureWidth { get; set; }
Property Value
CenterHorizontally
public bool CenterHorizontally { get; set; }
Property Value
CenterVertically
public bool CenterVertically { get; set; }
Property Value
Copies
public int Copies { get; set; }
Property Value
DifferentFirst
Indicates whether different first page header and footer.default is 0
public byte DifferentFirst { get; set; }
Property Value
DifferentOddEven
Indicates whether different odd and even page headers and footers.default is 0
public byte DifferentOddEven { get; set; }
Property Value
Draft
public bool Draft { get; set; }
Property Value
EvenFooterString
Gets OddEven page footer string. Read only.
public string EvenFooterString { get; set; }
Property Value
EvenHeaderString
Gets Even page header string. Read only.
public string EvenHeaderString { get; set; }
Property Value
FirstFooterString
Gets first page footer string. Read only.
public string FirstFooterString { get; set; }
Property Value
FirstHeaderString
Represents first page header string. Read only.
public string FirstHeaderString { get; set; }
Property Value
FirstPageNumber
public int FirstPageNumber { get; set; }
Property Value
FitToPagesTall
public int FitToPagesTall { get; set; }
Property Value
FitToPagesWide
public int FitToPagesWide { get; set; }
Property Value
FooterMarginInch
public double FooterMarginInch { get; set; }
Property Value
FullFooterString
Gets footer full string. Read only.
public string FullFooterString { get; set; }
Property Value
FullHeaderString
Represents full header string. Read only.
public string FullHeaderString { get; set; }
Property Value
HResolution
Gets or sets horizontal resolution in dpi.
public int HResolution { get; set; }
Property Value
HeaderMarginInch
public double HeaderMarginInch { get; set; }
Property Value
IsAutoPaperSize
Returns whether paper size is automatic. Read only.
public bool IsAutoPaperSize { get; }
Property Value
IsSettingsNotValid
public bool IsSettingsNotValid { get; set; }
Property Value
LeftFooter
public string LeftFooter { get; set; }
Property Value
LeftFooterImage
public SKBitmap LeftFooterImage { get; set; }
Property Value
- SKBitmap
LeftFooterPictureCropBottom
Gets or set crop bottom height of picture for left part of the footer,in unit of centimeters.
public double LeftFooterPictureCropBottom { get; set; }
Property Value
LeftFooterPictureCropLeft
Gets or set crop left width of picture for left part of the footer,in unit of centimeters.
public double LeftFooterPictureCropLeft { get; set; }
Property Value
LeftFooterPictureCropRight
Gets or set crop right width of picture for left part of the footer,in unit of centimeters.
public double LeftFooterPictureCropRight { get; set; }
Property Value
LeftFooterPictureCropTop
Gets or set crop top height of picture for left part of the footer,in unit of centimeters.
public double LeftFooterPictureCropTop { get; set; }
Property Value
LeftFooterPictureHeight
Gets or set height of picture for left part of the footer.
public int LeftFooterPictureHeight { get; set; }
Property Value
LeftFooterPictureWidth
public int LeftFooterPictureWidth { get; set; }
Property Value
LeftHeader
public string LeftHeader { get; set; }
Property Value
LeftHeaderImage
public SKBitmap LeftHeaderImage { get; set; }
Property Value
- SKBitmap
LeftHeaderPictureCropBottom
Gets or set crop bottom height of picture for left part of the header,in unit of centimeters.
public double LeftHeaderPictureCropBottom { get; set; }
Property Value
LeftHeaderPictureCropLeft
Gets or set crop left width of picture for left part of the header,in unit of centimeters.
public double LeftHeaderPictureCropLeft { get; set; }
Property Value
LeftHeaderPictureCropRight
Gets or set crop right width of picture for left part of the header,in unit of centimeters.
public double LeftHeaderPictureCropRight { get; set; }
Property Value
LeftHeaderPictureCropTop
Gets or set crop top height of picture for left part of the header,in unit of centimeters.
public double LeftHeaderPictureCropTop { get; set; }
Property Value
LeftHeaderPictureHeight
Gets or set height of picture for left part of the header.
public int LeftHeaderPictureHeight { get; set; }
Property Value
LeftHeaderPictureWidth
Gets or set width of picture for left part of the header.
public int LeftHeaderPictureWidth { get; set; }
Property Value
LeftMargin
public double LeftMargin { get; set; }
Property Value
ODSPageBackground
Returns ods page background. Read-only.
public OdsPageBackground ODSPageBackground { get; }
Property Value
OddFooterString
Gets Odd page footer string. Read only.
public string OddFooterString { get; set; }
Property Value
OddHeaderString
Gets Odd page header string. Read only.
public string OddHeaderString { get; set; }
Property Value
Order
public OrderType Order { get; set; }
Property Value
Orientation
public PageOrientationType Orientation { get; set; }
Property Value
PageHeight
Returns page width in points. Read-only.
public double PageHeight { get; }
Property Value
PageWidth
Returns page width in points. Read-only.
public double PageWidth { get; }
Property Value
PaperSize
public PaperSizeType PaperSize { get; set; }
Property Value
PrintComments
public PrintCommentType PrintComments { get; set; }
Property Value
PrintErrors
public PrintErrorsType PrintErrors { get; set; }
Property Value
PrintNotes
public bool PrintNotes { get; set; }
Property Value
PrintQuality
public int PrintQuality { get; set; }
Property Value
PrinterSettings
public byte[] PrinterSettings { get; set; }
Property Value
- byte[]
RecordCode
public int RecordCode { get; }
Property Value
RightFooter
public string RightFooter { get; set; }
Property Value
RightFooterImage
public SKBitmap RightFooterImage { get; set; }
Property Value
- SKBitmap
RightFooterPictureCropBottom
Gets or set crop bottom height of picture for right part of the footer,in unit of centimeters.
public double RightFooterPictureCropBottom { get; set; }
Property Value
RightFooterPictureCropLeft
Gets or set crop left width of picture for right part of the footer,in unit of centimeters.
public double RightFooterPictureCropLeft { get; set; }
Property Value
RightFooterPictureCropRight
Gets or set crop right width of picture for right part of the footer,in unit of centimeters.
public double RightFooterPictureCropRight { get; set; }
Property Value
RightFooterPictureCropTop
Gets or set crop top height of picture for right part of the footer,in unit of centimeters.
public double RightFooterPictureCropTop { get; set; }
Property Value
RightFooterPictureHeight
Gets or set height of picture for right part of the footer.
public int RightFooterPictureHeight { get; set; }
Property Value
RightFooterPictureWidth
Gets or set width of picture for right part of the footer.
public int RightFooterPictureWidth { get; set; }
Property Value
RightHeader
public string RightHeader { get; set; }
Property Value
RightHeaderImage
public SKBitmap RightHeaderImage { get; set; }
Property Value
- SKBitmap
RightHeaderPictureCropBottom
Gets or set crop bottom height of picture for right part of the header,in unit of centimeters.
public double RightHeaderPictureCropBottom { get; set; }
Property Value
RightHeaderPictureCropLeft
Gets or set crop left width of picture for right part of the header,in unit of centimeters.
public double RightHeaderPictureCropLeft { get; set; }
Property Value
RightHeaderPictureCropRight
Gets or set crop right width of picture for right part of the header,in unit of centimeters.
public double RightHeaderPictureCropRight { get; set; }
Property Value
RightHeaderPictureCropTop
Gets or set crop top height of picture for right part of the header,in unit of centimeters.
public double RightHeaderPictureCropTop { get; set; }
Property Value
RightHeaderPictureHeight
Gets or set height of picture for right part of the header.
public int RightHeaderPictureHeight { get; set; }
Property Value
RightHeaderPictureWidth
Gets or set width of picture for right part of the header.
public int RightHeaderPictureWidth { get; set; }
Property Value
RightMargin
public double RightMargin { get; set; }
Property Value
ScaleWithDoc
Indicates whether scale header and footer with document scaling.default is 1
public byte ScaleWithDoc { get; set; }
Property Value
StreamPos
[Obsolete("get and set not implemented")]
public long StreamPos { get; set; }
Property Value
TopMargin
public double TopMargin { get; set; }
Property Value
VResolution
Gets or sets vertical resolution in dpi.
public int VResolution { get; set; }
Property Value
Zoom
public int Zoom { get; set; }
Property Value
Methods
Copy(PageSetup)
public void Copy(PageSetup source)
Parameters
source
PageSetup
GetStoreSize(ExcelVersion)
[Obsolete("the method is not implemented")]
public virtual int GetStoreSize(ExcelVersion version)
Parameters
version
ExcelVersion