共用方式為


ShapeElement.OnInitialize Method

Definition

This method is called when a shape is inititially created, derived classes can override to perform shape instance initialization. This method is always called within a transaction.

public:
 virtual void OnInitialize();
public virtual void OnInitialize ();
abstract member OnInitialize : unit -> unit
override this.OnInitialize : unit -> unit
Public Overridable Sub OnInitialize ()

Applies to