Method ApplyTo
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
ApplyTo(DxfMText)
Gives an MTEXT this mask: the fill and the drawing's background colour switched as it says, the factor and, where the mask takes a colour of its own, the colour written; an MTEXT with the mask off is left with the record it has but for the two flags. What the MTEXT already has is not written again.
public void ApplyTo(DxfMText text)
Parameters
textDxfMTextThe MTEXT.
Exceptions
- ArgumentNullException
Thrown when the MTEXT is null.
- InvalidOperationException
Thrown when the MTEXT is in a file older than R2004, which has no background.