Click or drag to resize
ReaderWmfTransform Method
Transform method transforms all the coordinates, sizes and other values in the last read Viewbox with using transformation.

Namespace: Ab2d
Assembly: Ab2d.ReaderWmf (in Ab2d.ReaderWmf.dll) Version: 7.1.5512.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