InsertTransformAttributes Method
|
Recalculate the attributes position, normal, rotation, text height, width factor, and oblique angle from the values applied to the insertion.
Namespace:
DXFReaderNET.Entities
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public void TransformAttributes()
Public Sub TransformAttributes
public:
void TransformAttributes()
member TransformAttributes : unit -> unit
METHOD TransformAttributes() AS VOID
Remarks
Changes to the insert, the block, or the document insertion units will require this method to be called manually.
The attributes position, normal, rotation, text height, width factor, and oblique angle values includes the transformations applied to the insertion,
if required this method will calculate the proper values according to the ones defined by the attribute definition.
All the attribute values can be changed manually independently to its definition,
but, usually, you will want them to be transformed with the insert based on the local values defined by the attribute definition.
This method only applies to attributes that have a definition, some dxf files might generate attributes that have no definition in the block.
At the moment the attribute width factor and oblique angle are not calculated, this is applied to inserts with non uniform scaling.
See Also