Method SetTextStyle
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetTextStyle(string, DxfRowType)
Sets the text style of kinds of row, as AutoCAD's SetTextStyle(id, rowTypes), by its name.
public void SetTextStyle(string name, DxfRowType rowTypes)
Parameters
namestringThe name of a text style of the drawing.
rowTypesDxfRowTypeThe kinds, one or more of the title, the header and the data.
Exceptions
- ArgumentNullException
Thrown when the name is null.
- ArgumentException
Thrown when the name is empty, or the style is in a drawing that has no text style of the name.
- ArgumentOutOfRangeException
Thrown when the kinds are none, or hold a flag none of the three has.
- InvalidOperationException
Thrown when the style is erased.