PeachBrackets

PeachBrackets.Building.DocumentNode

DocumentNode.AppendImage(IReadOnlyDictionary<string,string>) Method

Adds an img child, which inherits the node’s text styles. Give it a picture with one of the Set...Content methods or a src attribute.

public PeachBrackets.Building.DocumentNode AppendImage(System.Collections.Generic.IReadOnlyDictionary<string,string>? attributes=null);

Parameters

attributes System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>

the image element’s attributes (such as src), or null for none

Returns

DocumentNode
the new image node