Table of Contents

Method AddLayout

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

AddLayout(string)

Adds a new empty layout to document with the passed name and returns the Layout index id.

public int AddLayout(string layoutname)

Parameters

layoutname string

Returns

int

The Layout index id

Remarks

if layout already exist then returns the existing layout index id. Warning: the passed layout name must not be 'model' or equal to the document.Model name uses the SetActiveLayoutId(int) with the return id in order to make it active.