Skip to content

Commit 7e1b6f3

Browse files
docs: Updating README ( Fixes #22 )
2 parents 7d2bc2c + 52d2461 commit 7e1b6f3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Font.types.ps1xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,16 @@ if ($null -eq $value) {
184184
$this.FontFace.'font-weight'
185185
</GetScriptBlock>
186186
</ScriptProperty>
187+
<ScriptProperty>
188+
<Name>ID</Name>
189+
<GetScriptBlock>
190+
return $this.FontFace.ParentNode.id
191+
</GetScriptBlock>
192+
<SetScriptBlock>
193+
param([string]$id)
194+
$this.FontFace.ParentNode.id = $id
195+
</SetScriptBlock>
196+
</ScriptProperty>
187197
<ScriptProperty>
188198
<Name>UnitsPerEm</Name>
189199
<GetScriptBlock>

0 commit comments

Comments
 (0)