Types/OpenPackage.Part/get_Palette.ps1
|
<# .SYNOPSIS Gets an Open Package Part's palette .DESCRIPTION Gets an Open Package palette for a part .NOTES A palette is a relationship between a package and a stylesheet. #> param() if (-not $this.RelationshipExists -or -not $this.GetRelationship) { return } if ($this.RelationshipExists('palette')) { return $this.GetRelationship('palette').TargetUri } |