Table of Contents

Method XDataTransformBy

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

XDataTransformBy(GeoTransform3)

Moves, turns, scales or mirrors the object's extended data by a transformation, as AutoCAD's XDataTransformBy: a position of the world (1011, 1021, 1031) is moved, a displacement (1012) turned and scaled but not moved, a direction (1013) turned but kept its length, a distance (1041) and a scale factor (1042) scaled by the transformation's scale, the greatest stretch of its axes; a plain point (1010) and every other group kept, as AutoCAD keeps them. A value the transformation leaves as it was keeps its text, and an object whose data it leaves is not written.

public void XDataTransformBy(GeoTransform3 transform)

Parameters

transform GeoTransform3

The transformation.

Exceptions

ArgumentNullException

Thrown when the transformation is null.

InvalidOperationException

Thrown when the object is erased.