Class PageSetup
This class stores all constants connected with page setup settings.
Inheritance
Namespace: Syncfusion.XlsIO.Implementation.XmlSerialization.Constants
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
public sealed class PageSetup : Object
Fields
AlignWithMarginsTag
Header Footer Margins align with Document string
Declaration
public const string AlignWithMarginsTag = "alignWithMargins"
Field Value
Type |
---|
System.String |
BlackAndWhite
Print black and white.
Declaration
public const string BlackAndWhite = "blackAndWhite"
Field Value
Type |
---|
System.String |
BottomMargin
Bottom Page Margin in inches.
Declaration
public const string BottomMargin = "bottom"
Field Value
Type |
---|
System.String |
CellComments
This attribute specifies how to print cell comments.
Declaration
public const string CellComments = "cellComments"
Field Value
Type |
---|
System.String |
CommentAsDisplayed
Print cell comments as displayed.
Declaration
public const string CommentAsDisplayed = "asDisplayed"
Field Value
Type |
---|
System.String |
CommentAtEnd
Print cell comments at end of document.
Declaration
public const string CommentAtEnd = "atEnd"
Field Value
Type |
---|
System.String |
CommentNone
Do not print cell comments.
Declaration
public const string CommentNone = "none"
Field Value
Type |
---|
System.String |
Copies
Number of copies to print.
Declaration
public const string Copies = "copies"
Field Value
Type |
---|
System.String |
DifferentFirst
Header Footer first page is different with document string
Declaration
public const string DifferentFirst = "differentFirst"
Field Value
Type |
---|
System.String |
DifferentOddEvenTag
Header Footer Odd/Even pages is different with the document string
Declaration
public const string DifferentOddEvenTag = "differentOddEven"
Field Value
Type |
---|
System.String |
Draft
Print without graphics.
Declaration
public const string Draft = "draft"
Field Value
Type |
---|
System.String |
Errors
Specifies how to print cell values for cells with errors.
Declaration
public const string Errors = "errors"
Field Value
Type |
---|
System.String |
ErrorsBlank
Display cell errors as blank.
Declaration
public const string ErrorsBlank = "blank"
Field Value
Type |
---|
System.String |
ErrorsDash
Display cell errors as dashes.
Declaration
public const string ErrorsDash = "dash"
Field Value
Type |
---|
System.String |
ErrorsDisplayed
Display cell errors as displayed on screen.
Declaration
public const string ErrorsDisplayed = "displayed"
Field Value
Type |
---|
System.String |
ErrorsNA
Display cell errors as #N/A.
Declaration
public const string ErrorsNA = "NA"
Field Value
Type |
---|
System.String |
FirstPageNumber
Page number for first printed page. If no value is specified, then 'automatic' is assumed.
Declaration
public const string FirstPageNumber = "firstPageNumber"
Field Value
Type |
---|
System.String |
FitToHeight
Number of vertical pages to fit on.
Declaration
public const string FitToHeight = "fitToHeight"
Field Value
Type |
---|
System.String |
FitToWidth
Number of horizontal pages to fit on.
Declaration
public const string FitToWidth = "fitToWidth"
Field Value
Type |
---|
System.String |
FooterMargin
Footer Page Margin in inches.
Declaration
public const string FooterMargin = "footer"
Field Value
Type |
---|
System.String |
GridLines
Used in conjunction with gridLinesSet. If both gridLines and gridlinesSet are true, then grid lines shall print. Otherwise, they shall not (i.e., one or both have false values).
Declaration
public const string GridLines = "gridLines"
Field Value
Type |
---|
System.String |
GridLinesSet
Used in conjunction with gridLines. If both gridLines and gridLinesSet are true, then grid lines shall print. Otherwise, they shall not (i.e., one or both have false values).
Declaration
public const string GridLinesSet = "gridLinesSet"
Field Value
Type |
---|
System.String |
HeaderFooterTag
Header and footer settings.
Declaration
public const string HeaderFooterTag = "headerFooter"
Field Value
Type |
---|
System.String |
HeaderMargin
Header Page Margin in inches.
Declaration
public const string HeaderMargin = "header"
Field Value
Type |
---|
System.String |
Headings
Print row and column headings.
Declaration
public const string Headings = "headings"
Field Value
Type |
---|
System.String |
HorizontalCentered
Center on page horizontally when printing.
Declaration
public const string HorizontalCentered = "horizontalCentered"
Field Value
Type |
---|
System.String |
HorizontalDpi
Horizontal print resolution of the device.
Declaration
public const string HorizontalDpi = "horizontalDpi"
Field Value
Type |
---|
System.String |
Id
Relationship Id of the devMode printer settings part.
Declaration
public const string Id = "id"
Field Value
Type |
---|
System.String |
LeftMargin
Left Page Margin in inches.
Declaration
public const string LeftMargin = "left"
Field Value
Type |
---|
System.String |
OddFooterTag
Odd footer string.
Declaration
public const string OddFooterTag = "oddFooter"
Field Value
Type |
---|
System.String |
OddHeaderTag
Odd header string.
Declaration
public const string OddHeaderTag = "oddHeader"
Field Value
Type |
---|
System.String |
Orientation
Orientation of the page.
Declaration
public const string Orientation = "orientation"
Field Value
Type |
---|
System.String |
PageMarginsTag
Page margins for a sheet or a custom sheet view.
Declaration
public const string PageMarginsTag = "pageMargins"
Field Value
Type |
---|
System.String |
PageOrder
Order of printed pages.
Declaration
public const string PageOrder = "pageOrder"
Field Value
Type |
---|
System.String |
PageSetupTag
Page setup settings for the worksheet.
Declaration
public const string PageSetupTag = "pageSetup"
Field Value
Type |
---|
System.String |
PaperSize
Paper size
Declaration
public const string PaperSize = "paperSize"
Field Value
Type |
---|
System.String |
PrintOptionsTag
Print options for the sheet.
Declaration
public const string PrintOptionsTag = "printOptions"
Field Value
Type |
---|
System.String |
RightMargin
Right Page Margin in inches.
Declaration
public const string RightMargin = "right"
Field Value
Type |
---|
System.String |
Scale
Print scaling. Valid values range from 10 to 400.
Declaration
public const string Scale = "scale"
Field Value
Type |
---|
System.String |
ScaleWithDocTag
Header Footer Scales with Document string
Declaration
public const string ScaleWithDocTag = "scaleWithDoc"
Field Value
Type |
---|
System.String |
TopMargin
Top Page Margin in inches.
Declaration
public const string TopMargin = "top"
Field Value
Type |
---|
System.String |
UseFirstPageNumber
Use firstPageNumber value for first page number, and do not auto number the pages.
Declaration
public const string UseFirstPageNumber = "useFirstPageNumber"
Field Value
Type |
---|
System.String |
UsePrinterDefaults
Use the printer�s defaults settings for page setup values and don't use the default values specified in the schema. For example, if dpi is not present or specified in the XML, the application shall not assume 600dpi as specified in the schema as a default and instead shall let the printer specify the default dpi.
Declaration
public const string UsePrinterDefaults = "usePrinterDefaults"
Field Value
Type |
---|
System.String |
VerticalCentered
Center on page vertically when printing.
Declaration
public const string VerticalCentered = "verticalCentered"
Field Value
Type |
---|
System.String |
VerticalDpi
Vertical print resolution of the device.
Declaration
public const string VerticalDpi = "verticalDpi"
Field Value
Type |
---|
System.String |