mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-15 07:43:23 +00:00
Extra parameter help in Set-Column needed a format fix
This commit is contained in:
@@ -40,34 +40,34 @@
|
|||||||
[OfficeOpenXml.Style.ExcelBorderStyle]$BorderAround,
|
[OfficeOpenXml.Style.ExcelBorderStyle]$BorderAround,
|
||||||
#Colour for the text - if none specified it will be left as it it is
|
#Colour for the text - if none specified it will be left as it it is
|
||||||
[System.Drawing.Color]$FontColor,
|
[System.Drawing.Color]$FontColor,
|
||||||
#Make text bold; use -Bold:$false to remove bold
|
#Make text bold; use -Bold:$false to remove bold
|
||||||
[switch]$Bold,
|
[switch]$Bold,
|
||||||
#Make text italic; use -Italic:$false to remove italic
|
#Make text italic; use -Italic:$false to remove italic
|
||||||
[switch]$Italic,
|
[switch]$Italic,
|
||||||
#Underline the text using the underline style in -underline type; use -Underline:$false to remove underlining
|
#Underline the text using the underline style in -underline type; use -Underline:$false to remove underlining
|
||||||
[switch]$Underline,
|
[switch]$Underline,
|
||||||
#Should Underline use single or double, normal or accounting mode : default is single normal
|
#Should Underline use single or double, normal or accounting mode : default is single normal
|
||||||
[OfficeOpenXml.Style.ExcelUnderLineType]$UnderLineType = [OfficeOpenXml.Style.ExcelUnderLineType]::Single,
|
[OfficeOpenXml.Style.ExcelUnderLineType]$UnderLineType = [OfficeOpenXml.Style.ExcelUnderLineType]::Single,
|
||||||
#Strike through text; use -Strikethru:$false to remove Strike through
|
#Strike through text; use -Strikethru:$false to remove Strike through
|
||||||
[switch]$StrikeThru,
|
[switch]$StrikeThru,
|
||||||
#Subscript or superscript (or none)
|
#Subscript or superscript (or none)
|
||||||
[OfficeOpenXml.Style.ExcelVerticalAlignmentFont]$FontShift,
|
[OfficeOpenXml.Style.ExcelVerticalAlignmentFont]$FontShift,
|
||||||
#Font to use - Excel defaults to Calibri
|
#Font to use - Excel defaults to Calibri
|
||||||
[String]$FontName,
|
[String]$FontName,
|
||||||
#Point size for the text
|
#Point size for the text
|
||||||
[float]$FontSize,
|
[float]$FontSize,
|
||||||
#Change background colour
|
#Change background colour
|
||||||
[System.Drawing.Color]$BackgroundColor,
|
[System.Drawing.Color]$BackgroundColor,
|
||||||
#Background pattern - solid by default
|
#Background pattern - solid by default
|
||||||
[OfficeOpenXml.Style.ExcelFillStyle]$BackgroundPattern = [OfficeOpenXml.Style.ExcelFillStyle]::Solid ,
|
[OfficeOpenXml.Style.ExcelFillStyle]$BackgroundPattern = [OfficeOpenXml.Style.ExcelFillStyle]::Solid ,
|
||||||
#Secondary colour for background pattern
|
#Secondary colour for background pattern
|
||||||
[Alias("PatternColour")]
|
[Alias("PatternColour")]
|
||||||
[System.Drawing.Color]$PatternColor,
|
[System.Drawing.Color]$PatternColor,
|
||||||
#Turn on text wrapping; use -WrapText:$false to turn off word wrapping
|
#Turn on text wrapping; use -WrapText:$false to turn off word wrapping
|
||||||
[switch]$WrapText,
|
[switch]$WrapText,
|
||||||
#Position cell contents to left, right, center etc. default is 'General'
|
#Position cell contents to left, right, center etc. default is 'General'
|
||||||
[OfficeOpenXml.Style.ExcelHorizontalAlignment]$HorizontalAlignment,
|
[OfficeOpenXml.Style.ExcelHorizontalAlignment]$HorizontalAlignment,
|
||||||
#Position cell contents to top bottom or centre
|
#Position cell contents to top bottom or centre
|
||||||
[OfficeOpenXml.Style.ExcelVerticalAlignment]$VerticalAlignment,
|
[OfficeOpenXml.Style.ExcelVerticalAlignment]$VerticalAlignment,
|
||||||
#Degrees to rotate text. Up to +90 for anti-clockwise ("upwards"), or to -90 for clockwise.
|
#Degrees to rotate text. Up to +90 for anti-clockwise ("upwards"), or to -90 for clockwise.
|
||||||
[ValidateRange(-90, 90)]
|
[ValidateRange(-90, 90)]
|
||||||
|
|||||||
Reference in New Issue
Block a user