Table of Contents

Method ApplyTo

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

ApplyTo(DxfMText)

Gives an MTEXT this frame's width, defined height and columns, as AutoCAD's own calls set them: no columns taken out, static ones by SetStaticColumns(double, double, int), dynamic ones by SetDynamicColumns(double, double, bool) and each column's height by SetColumnHeight(int, double).

public void ApplyTo(DxfMText text)

Parameters

text DxfMText

The MTEXT.

Exceptions

ArgumentNullException

Thrown when the MTEXT is null.

InvalidOperationException

Thrown where the MTEXT's file keeps no columns of this kind (older than R2007).