StreamGeometryContext.Close Method

Definition

Closes this context and flushes its content so that it can be rendered.

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

Exceptions

This context has already been closed or disposed.

Remarks

Once closed, the context cannot be modified. The context must be closed before its content can be rendered.

Applies to