I need to create News page with PowerShell. Is it possible to set vertical align of image set in Page properties?

#Set Page properties
Set-PnPClientSidePage -Identity $Page -Title "Nowe wydanie numer $number dla wersji: $whatApp" -CommentsEnabled:$False -HeaderType Custom -ServerRelativeImageUrl $imageUrl

You cannot set vertical align of image set in Page properties. Accroding to the article: https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnpclientsidepage?view=sharepoint-ps

The parameters for image are only -TranslateX and -TranslateY. There is no such parameters to set vertical align of image.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.