Resolved

UDTypography and italics

avatar
(anonymous user)
Product: PowerShell Universal
Version: 4.0.2

Is it possible to get UDTypography to be italics? I have tried

-Style @{ fontstyle = ‘italic’ }

but that hasn’t worked for me.

avatar

Recommended Answer

It looks like the style props are case sensitive. Try this.

    New-UDTypography -Text 'Test' -Style @{
        fontStyle = 'italic'
    } 

Adam Driscoll

PowerShell Expert and Software Architect at Devolutions

All Comments (2)

avatar

It looks like the style props are case sensitive. Try this.

    New-UDTypography -Text 'Test' -Style @{
        fontStyle = 'italic'
    } 

Adam Driscoll

PowerShell Expert and Software Architect at Devolutions

avatar
(anonymous user)

Thanks, that did it.