Table of Contents

Method TryGetAttributeValueRef

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

TryGetAttributeValueRef<T>(ISvgElement, string, out T?)

public static bool TryGetAttributeValueRef<T>(this ISvgElement svgElement, string name, out T? valueRef) where T : class, ISvgAttribute

Parameters

svgElement ISvgElement
name string
valueRef T

Returns

bool

Type Parameters

T

TryGetAttributeValueRef(ISvgElement, string)

public static ISvgAttribute? TryGetAttributeValueRef(this ISvgElement svgElement, string name)

Parameters

svgElement ISvgElement
name string

Returns

ISvgAttribute

TryGetAttributeValueRef<T>(ISvgElement, string)

public static T? TryGetAttributeValueRef<T>(this ISvgElement svgElement, string name) where T : class, ISvgAttribute

Parameters

svgElement ISvgElement
name string

Returns

T

Type Parameters

T

TryGetAttributeValueRef(ISvgElement, string, out ISvgAttribute?)

public static bool TryGetAttributeValueRef(this ISvgElement svgElement, string name, out ISvgAttribute? valueRef)

Parameters

svgElement ISvgElement
name string
valueRef ISvgAttribute

Returns

bool

TryGetAttributeValueRef(ISvgElement, string, out ISvgPaint?)

public static bool TryGetAttributeValueRef(this ISvgElement svgElement, string name, out ISvgPaint? valueRef)

Parameters

svgElement ISvgElement
name string
valueRef ISvgPaint

Returns

bool

TryGetAttributeValueRef(ISvgElement, string, out ISvgStrokeDashArray?)

public static bool TryGetAttributeValueRef(this ISvgElement svgElement, string name, out ISvgStrokeDashArray? valueRef)

Parameters

svgElement ISvgElement
name string
valueRef ISvgStrokeDashArray

Returns

bool

TryGetAttributeValueRef(ISvgElement, string, out ISvgPointCollection?)

public static bool TryGetAttributeValueRef(this ISvgElement svgElement, string name, out ISvgPointCollection? valueRef)

Parameters

svgElement ISvgElement
name string
valueRef ISvgPointCollection

Returns

bool

TryGetAttributeValueRef(ISvgElement, string, out ISvgPathData?)

public static bool TryGetAttributeValueRef(this ISvgElement svgElement, string name, out ISvgPathData? valueRef)

Parameters

svgElement ISvgElement
name string
valueRef ISvgPathData

Returns

bool