For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-UDImage

An image component.

Synopsis

An image component.

Syntax

New-UDImage [-Id <String>] [-Url <String>] [-Height <Int32>] [-Width <Int32>] [-Attributes <Hashtable>] [-ClassName <String>] [<CommonParameters>]

    New-UDImage [-Id <String>] [-Path <String>] [-Height <Int32>] [-Width <Int32>] [-Attributes <Hashtable>] [-ClassName <String>] [<CommonParameters>]

Description

An image component.

Parameters

-Id

The ID of this component.

Required?                    false
Position?                    named
Default value                ([Guid]::NewGuid())
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

-Url

The URL to the image.

-Path

The path to a local image.

-Height

The height in pixels.

-Width

The width in pixels.

-Attributes

Additional attributes to apply to the img tag.

-ClassName

A CSS class to apply to the image.

Outputs

-------------------------- EXAMPLE 1 --------------------------

Last updated

Was this helpful?