Skip to content

Latest commit

 

History

History
141 lines (109 loc) · 2.61 KB

File metadata and controls

141 lines (109 loc) · 2.61 KB
external help file PSWriteOffice-help.xml
Module Name PSWriteOffice
online version https://github.com/EvotecIT/PSWriteOffice
schema 2.0.0

Add-OfficePowerPointTextBox

SYNOPSIS

Adds a text box to a slide.

SYNTAX

__AllParameterSets

Add-OfficePowerPointTextBox -Text <string> [-Slide <PowerPointSlide>] [-X <int>] [-Y <int>] [-Width <int>] [-Height <int>] [<CommonParameters>]

DESCRIPTION

Adds a text box to a slide.

EXAMPLES

EXAMPLE 1

PS>Add-OfficePowerPointTextBox -Slide $slide -Text 'Quarterly Overview' -X 80 -Y 150

Places a text box mid-slide with the provided caption.

PARAMETERS

-Height

Box height in points.

Type: Int32
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-Slide

Target slide that will receive the text box (optional inside DSL).

Type: PowerPointSlide
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: False
Position: named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: True

-Text

Text to render inside the box.

Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-Width

Box width in points.

Type: Int32
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-X

Left offset (in points) from the slide origin.

Type: Int32
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-Y

Top offset (in points) from the slide origin.

Type: Int32
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

  • OfficeIMO.PowerPoint.PowerPointSlide

OUTPUTS

  • System.Object

RELATED LINKS

  • None