| IO | Parameter | Type | Description
|
| in | theCADArea | longint | Area ID
|
| in | theLayerOrSubLayerID | longint | Layer ID or Sublayer ID
|
| in | theLayerName | Str255 |
|
| in | theLayerMode | integer | A layer mode constant
|
| in | theLayerTransparencyFlag | integer | A boolean constant
|
| in | theLayerHatchesVisibleFlag | integer | A boolean constant
|
| in | theLayerHasSnapsFlag | integer | A boolean constant
|
| out | function result | OSErr | Error result code, also see Error handling
|