ViewSheet.ConvertToRealSheet
Method
Description:
Converts a placeholder sheet to a real one with an optional titleblock.
Converts a placeholder sheet to a real one with an optional titleblock.
Parameters
| Parameter | Type | Description |
|---|---|---|
| titleBlockTypeId | ElementId | The id of the placeholder sheet, or invalidElementId if no titleblock should be added. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | titleBlockTypeId does not correspond to a TitleBlock type. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | This method may only be called on a placeholder sheet. -or- Failed to convert the sheet because the input titleblock could not be applied. |