ContentUndoHelperAddContent Method |
Call this *after* adding a content. Undo will cause the content to be deleted.
Namespace:
Rhino.Render
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax public bool AddContent(
RenderContent content,
RenderContent parent
)
Public Function AddContent (
content As RenderContent,
parent As RenderContent
) As Boolean
Parameters
- content
- Type: Rhino.RenderRenderContent
Content you just added to the ContentList. - parent
- Type: Rhino.RenderRenderContent
is the content that will become the parent of the new content, or null if the new content is being added at the top level (i.e., not a child).
Return Value
Type:
Booleantrue if the content was added.
See Also