Method CreateCellStyle
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CreateCellStyle(CadDocument, string, string, string)
Makes a cell style of a table style, as Create New Cell Style does: of the name given, starting from the look of one of the style's. One undo step.
public static CadEditResult CreateCellStyle(CadDocument document, string tableStyleName, string name, string startWith)
Parameters
documentCadDocumentThe document.
tableStyleNamestringThe name of the table style.
namestringThe name of the new cell style.
startWithstringThe cell style it starts from: Title, Header, Data or a user's.
Returns
- CadEditResult
What came of it; refused for a name that is empty or taken, or a table style or start that is none.