Method PartsOf
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
PartsOf(string)
Gets the parts of a sample a field of the dimension style dialogs sets, from the table of the fields: the
extension and dimension lines, the arrowheads, the words. A field of no part (DIMSCALE, Annotative, DIMUPT) gives none.
The key is the name of the variable the dialog shows beside the field, as DIMEXE, letters of either case and
spaces left out the same; a field of two variables is keyed by the first (DIMTOL, DIMTIH), the second
field of one variable by the variable and a # (DIMCEN# the centre mark's size, DIMGAP# the frame
round the text), and the placement of the alternate units as DIMPOST\X.
public static IReadOnlyList<CadStylePart> PartsOf(string key)
Parameters
keystringThe key of the field.
Returns
- IReadOnlyList<CadStylePart>
The parts; none for a field of no part and for a key no field has.