ExcelChartWorksheetPageSetup Properties |
The ExcelChartWorksheetPageSetup type exposes the following members.
Name | Description | |
---|---|---|
BackgroundPicture |
Gets or sets the background picture of the worksheet.
| |
BottomMargin |
Gets or sets the bottom margin size in inches.
(Inherited from ExcelPageSetup.) | |
CenterFooterFormat |
Gets or sets the format of the center part of the footer. Formatting and VBA codes for headers and footers are below.
&L - Left aligns the characters that follow.
&C - Centers the characters that follow.
&R - Right aligns the characters that follow.
&E - Turns double-underline printing on or off.
&X - Turns superscript printing on or off.
&Y - Turns subscript printing on or off.
&B - Turns bold printing on or off.
&I - Turns italic printing on or off.
&U - Turns underline printing on or off.
&S - Turns strikethrough printing on or off.
&"fontname" - Prints the characters that follow in the specified font. Be sure to include the double quotation marks.
&nn - Prints the characters that follow in the specified font size. Use a two-digit number to specify a size in points.
&color - Prints the characters in the specified color. User supplies a hexidecimal color value.
&D - Prints the current date.
&T - Prints the current time.
&F - Prints the name of the document.
&A - Prints the name of the workbook tab.
&P - Prints the page number.
&P+number - Prints the page number plus the specified number.
&P-number - Prints the page number minus the specified number.
&& - Prints a single ampersand.
&N - Prints the total number of pages in the document.
&Z - Prints the file path.
&G - Inserts an image.
(Inherited from ExcelPageSetup.) | |
CenterFooterPicture |
Gets or sets the image displayed in the center part of the footer.
(Inherited from ExcelPageSetup.) | |
CenterHeaderFormat |
Gets or sets the format the center part of the header. Formatting and VBA codes for headers and footers are below.
&L - Left aligns the characters that follow.
&C - Centers the characters that follow.
&R - Right aligns the characters that follow.
&E - Turns double-underline printing on or off.
&X - Turns superscript printing on or off.
&Y - Turns subscript printing on or off.
&B - Turns bold printing on or off.
&I - Turns italic printing on or off.
&U - Turns underline printing on or off.
&S - Turns strikethrough printing on or off.
&"fontname" - Prints the characters that follow in the specified font. Be sure to include the double quotation marks.
&nn - Prints the characters that follow in the specified font size. Use a two-digit number to specify a size in points.
&color - Prints the characters in the specified color. User supplies a hexidecimal color value.
&D - Prints the current date.
&T - Prints the current time.
&F - Prints the name of the document.
&A - Prints the name of the workbook tab.
&P - Prints the page number.
&P+number - Prints the page number plus the specified number.
&P-number - Prints the page number minus the specified number.
&& - Prints a single ampersand.
&N - Prints the total number of pages in the document.
&Z - Prints the file path.
&G - Inserts an image.
(Inherited from ExcelPageSetup.) | |
CenterHeaderPicture |
Gets or sets the image displayed in the center part of the header.
(Inherited from ExcelPageSetup.) | |
CenterHorizontally |
Gets or sets indicating if the sheet is centered horizonally.
(Inherited from ExcelPageSetup.) | |
CenterVertically |
Gets or sets indicating if the sheet is centered vertically.
(Inherited from ExcelPageSetup.) | |
FooterMargin |
Gets or sets the distance from the bottom of the page to the footer in inches.
(Inherited from ExcelPageSetup.) | |
HeaderMargin |
Gets or sets the distance from the top of the page to the header in inches.
(Inherited from ExcelPageSetup.) | |
LeftFooterFormat |
Gets or sets the format of the left part of the footer. Formatting and VBA codes for headers and footers are below.
&L - Left aligns the characters that follow.
&C - Centers the characters that follow.
&R - Right aligns the characters that follow.
&E - Turns double-underline printing on or off.
&X - Turns superscript printing on or off.
&Y - Turns subscript printing on or off.
&B - Turns bold printing on or off.
&I - Turns italic printing on or off.
&U - Turns underline printing on or off.
&S - Turns strikethrough printing on or off.
&"fontname" - Prints the characters that follow in the specified font. Be sure to include the double quotation marks.
&nn - Prints the characters that follow in the specified font size. Use a two-digit number to specify a size in points.
&color - Prints the characters in the specified color. User supplies a hexidecimal color value.
&D - Prints the current date.
&T - Prints the current time.
&F - Prints the name of the document.
&A - Prints the name of the workbook tab.
&P - Prints the page number.
&P+number - Prints the page number plus the specified number.
&P-number - Prints the page number minus the specified number.
&& - Prints a single ampersand.
&N - Prints the total number of pages in the document.
&Z - Prints the file path.
&G - Inserts an image.
(Inherited from ExcelPageSetup.) | |
LeftFooterPicture |
Gets or sets the image displayed in the left part of the footer.
(Inherited from ExcelPageSetup.) | |
LeftHeaderFormat |
Gets or sets the format of the left part of the header. Formatting and VBA codes for headers and footers are below.
&L - Left aligns the characters that follow.
&C - Centers the characters that follow.
&R - Right aligns the characters that follow.
&E - Turns double-underline printing on or off.
&X - Turns superscript printing on or off.
&Y - Turns subscript printing on or off.
&B - Turns bold printing on or off.
&I - Turns italic printing on or off.
&U - Turns underline printing on or off.
&S - Turns strikethrough printing on or off.
&"fontname" - Prints the characters that follow in the specified font. Be sure to include the double quotation marks.
&nn - Prints the characters that follow in the specified font size. Use a two-digit number to specify a size in points.
&color - Prints the characters in the specified color. User supplies a hexidecimal color value.
&D - Prints the current date.
&T - Prints the current time.
&F - Prints the name of the document.
&A - Prints the name of the workbook tab.
&P - Prints the page number.
&P+number - Prints the page number plus the specified number.
&P-number - Prints the page number minus the specified number.
&& - Prints a single ampersand.
&N - Prints the total number of pages in the document.
&Z - Prints the file path.
&G - Inserts an image.
(Inherited from ExcelPageSetup.) | |
LeftHeaderPicture |
Gets or sets the image displayed in the left part of the header.
(Inherited from ExcelPageSetup.) | |
LeftMargin |
Gets or sets the left margin size in inches.
(Inherited from ExcelPageSetup.) | |
Orientation |
Gets or sets the page orientation to portrait or landscape mode.
(Inherited from ExcelPageSetup.) | |
PaperSize |
Gets or sets the page paper size.
(Inherited from ExcelPageSetup.) | |
PrintBlackAndWhite |
Gets or sets a flag indicating if the page will be printed in black and white.
(Inherited from ExcelPageSetup.) | |
PrintCopiesNumber |
Gets or sets the number of copies to print.
(Inherited from ExcelPageSetup.) | |
PrintDraftMode |
Gets or sets a flag indicating if the page will be printed in draft mode.
(Inherited from ExcelPageSetup.) | |
PrintFirstPageNumber |
Gets or sets the first page number printing. This property has effect if the PrintFirstPageNumberAuto is false.
(Inherited from ExcelPageSetup.) | |
PrintFirstPageNumberAuto |
Gets or sets a flag indicating if the first page number is automatically selected by Excel viewer. If this property is false
the first page number is given by the PrintFirstPageNumber property.
(Inherited from ExcelPageSetup.) | |
PrintOrder |
Gets or sets the order used to number pages when printing a large worksheet.
(Inherited from ExcelPageSetup.) | |
PrintQuality |
Gets or sets the print quality in dpi.
(Inherited from ExcelPageSetup.) | |
RightFooterFormat |
Gets or sets the format of the right part of the footer. Formatting and VBA codes for headers and footers are below.
&L - Left aligns the characters that follow.
&C - Centers the characters that follow.
&R - Right aligns the characters that follow.
&E - Turns double-underline printing on or off.
&X - Turns superscript printing on or off.
&Y - Turns subscript printing on or off.
&B - Turns bold printing on or off.
&I - Turns italic printing on or off.
&U - Turns underline printing on or off.
&S - Turns strikethrough printing on or off.
&"fontname" - Prints the characters that follow in the specified font. Be sure to include the double quotation marks.
&nn - Prints the characters that follow in the specified font size. Use a two-digit number to specify a size in points.
&color - Prints the characters in the specified color. User supplies a hexidecimal color value.
&D - Prints the current date.
&T - Prints the current time.
&F - Prints the name of the document.
&A - Prints the name of the workbook tab.
&P - Prints the page number.
&P+number - Prints the page number plus the specified number.
&P-number - Prints the page number minus the specified number.
&& - Prints a single ampersand.
&N - Prints the total number of pages in the document.
&Z - Prints the file path.
&G - Inserts an image.
(Inherited from ExcelPageSetup.) | |
RightFooterPicture |
Gets or sets the image displayed in the right part of the footer.
(Inherited from ExcelPageSetup.) | |
RightHeaderFormat |
Gets or sets the format of the right part of the header. Formatting and VBA codes for headers and footers are below.
&L - Left aligns the characters that follow.
&C - Centers the characters that follow.
&R - Right aligns the characters that follow.
&E - Turns double-underline printing on or off.
&X - Turns superscript printing on or off.
&Y - Turns subscript printing on or off.
&B - Turns bold printing on or off.
&I - Turns italic printing on or off.
&U - Turns underline printing on or off.
&S - Turns strikethrough printing on or off.
&"fontname" - Prints the characters that follow in the specified font. Be sure to include the double quotation marks.
&nn - Prints the characters that follow in the specified font size. Use a two-digit number to specify a size in points.
&color - Prints the characters in the specified color. User supplies a hexidecimal color value.
&D - Prints the current date.
&T - Prints the current time.
&F - Prints the name of the document.
&A - Prints the name of the workbook tab.
&P - Prints the page number.
&P+number - Prints the page number plus the specified number.
&P-number - Prints the page number minus the specified number.
&& - Prints a single ampersand.
&N - Prints the total number of pages in the document.
&Z - Prints the file path.
&G - Inserts an image.
(Inherited from ExcelPageSetup.) | |
RightHeaderPicture |
Gets or sets the image displayed in the right part of the header.
(Inherited from ExcelPageSetup.) | |
RightMargin |
Gets or sets the right margin size in inches.
(Inherited from ExcelPageSetup.) | |
TopMargin |
Gets or sets the top margin size in inches.
(Inherited from ExcelPageSetup.) |