Click or drag to resize
AB4D logo

ReaderSvgTransform Method

Transform method transforms all the coordinates, sizes and other values in the last read Viewbox with using transformation.

Namespace:  Ab2d
Assembly:  Ab2d.ReaderSvg (in Ab2d.ReaderSvg.dll) Version: 7.1.7295.1040
Syntax
C#
public Viewbox Transform(
	Transform transformation,
	bool updateLastReadViewbox
)

Parameters

transformation
Type: System.Windows.MediaTransform
transformation
updateLastReadViewbox
Type: SystemBoolean
if true than LastReadViewbox is also changed. This allows calling GetXaml method and get the xaml with the transformed objects.

Return Value

Type: Viewbox
transformed Viewbox
Remarks

Transform method transforms all the coordinates, sizes and other values in the last read Viewbox with using transformation.

The method is using TrueTransform to do the transformation. Check the class info to get more information.

If the method is called with setting updateLastReadViewbox parameter to true, than the LastReadViewbox is also changed. This allows calling GetXaml method and get the xaml with the transformed objects.

See Also