New-UDPaper
Synopsis
Paper is used to highlight content within a page.
Syntax
New-UDPaper [[-Id] <String>] [[-Children] <ScriptBlock>] [[-Width] <String>] [[-Height] <String>] [-Square] [[-Style] <Hashtable>] [[-Elevation] <Int32>] [[-ClassName] <String>] [<CommonParameters>]Description
Creates a paper. Paper is used to highlight content within a page.
Parameters
-Id
The ID of the component. It defaults to a random GUID.
Required? false
Position? 1
Default value ([Guid]::NewGuid()).ToString()
Accept pipeline input? false
Aliases
Accept wildcard characters? false-Children
The content of this paper element.
-Width
The width of this paper.
-Height
The height of this paper.
-Square
Whether this paper is square.
-Style
The CSS style to apply to this paper.
-Elevation
The elevation of this paper.
-ClassName
A CSS class to apply to the paper.
Common parameters
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.
Outputs
Examples
Example 1: Basic paper
Creates a new paper with a button inside of it.
Example 2: Paper with elevation
Creates a new paper with a button inside of it and an elevation of 5.
Example 3: Width and height
Creates a new paper with a button inside of it and a width and height of 1000.
Example 4: Square paper
Creates a new paper with a button inside of it and a square shape.
Example 5: Style
Creates a new paper with a button inside of it and a red background color.
[Component("Paper", "File", "Creates a paper component.")]
Last updated
Was this helpful?