Method Generated
Generated(GeneratedContentKind, long)
Creates the source of a run whose text layout produced.
public static GlyphRunSource Generated(GeneratedContentKind kind, long ownerKey)
Parameters
kindGeneratedContentKindWhat produced it.
ownerKeylongThe key of the node it belongs to, or zero.
Returns
- GlyphRunSource
The source.
Exceptions
- ArgumentOutOfRangeException
ownerKeyis negative.