API Reference
Cmdlet
Add-OfficeVisioEllipse
Adds an ellipse shape to the current Visio page.
Remarks
Adds an ellipse shape to the current Visio page.
Examples
Add a start node.
PS>
New-OfficeVisio -Path .\Flow.vsdx {
VisioEllipse -Key start -Text 'Start' -X 1 -Y 5 -Width 1.4 -Height 0.7 -FillColor '#DCFCE7'
}
Adds an ellipse to the active Visio page.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Add-OfficeVisioEllipse [-FillColor <String>] [-Height <Double>] [-Key <String>] [-LineColor <String>] [-LineWeight <Nullable`1>] [-Name <String>] [-Page <VisioPage>] [-Text <String>] [-Unit <Inches|Centimeters|Millimeters>] [-Width <Double>] [-X <Double>] [-Y <Double>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- FillColor String
- Fill color name or hex value.
- Height Double
- Shape height.
- Key String
- DSL key used by connector commands.
- LineColor String
- Line color name or hex value.
- LineWeight Nullable`1
- Line weight.
- Name String
- Optional shape name.
- Page VisioPage
- Target page. Optional inside VisioPage or New-OfficeVisio.
- Text String
- Text placed inside the shape.
- Unit VisioMeasurementUnit
- Measurement unit for coordinates and dimensions.
- Possible values:
Inches,Centimeters,Millimeters - Width Double
- Shape width.
- X Double
- X coordinate of the shape origin.
- Y Double
- Y coordinate of the shape origin.
Outputs
OfficeIMO.Visio.VisioShape