Click or drag to resize

CreateEdit Class

Represents an undoable edit operation for the creation of one or more Visual objects within a Document.
Inheritance Hierarchy

Namespace: Demo3D.Visuals
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public class CreateEdit : DocumentVisualsEdit

The CreateEdit type exposes the following members.

Constructors
 NameDescription
Public methodCreateEdit(Document, Visual) Initializes a new instance of the CreateEdit class for a single visual.
Public methodCreateEdit(Document, IList) Initializes a new instance of the CreateEdit class for multiple visuals.
Top
Properties
 NameDescription
Public propertyDocument The document that contains the edit.
(Inherited from DocumentEdit)
Public propertyIds The Ids of the affected visuals.
(Inherited from DocumentVisualsEdit)
Top
Methods
 NameDescription
Public methodFindVisuals Find all visuals in the scene which match an id in the Ids property."/>
(Inherited from DocumentVisualsEdit)
Public methodRedo Executed when redo is called on this edit from the UndoManager
(Overrides DocumentEditRedo)
Public methodSetVisuals Set the list of affected visuals.
(Inherited from DocumentVisualsEdit)
Public methodToString Returns a string representation of this create edit.
(Overrides ObjectToString)
Public methodUndo Executed when undo is called on this edit from the UndoManager
(Overrides DocumentEditUndo)
Protected methodVisualsToString Returns a string representation of the affected visuals for display purposes.
(Inherited from DocumentVisualsEdit)
Top
See Also