DrawingGroup.Open 方法

定義

開啟 DrawingGroup,以填入它的 Children,並清除任何現有的 ChildrenOpens the DrawingGroup in order to populate its Children and clears any existing Children.

public:
 System::Windows::Media::DrawingContext ^ Open();
public System.Windows.Media.DrawingContext Open ();
member this.Open : unit -> System.Windows.Media.DrawingContext
Public Function Open () As DrawingContext

傳回

DrawingContext,可以用來描述這個 DrawingGroup 物件的內容。A DrawingContext that can be used to describe the contents of this DrawingGroup object.

備註

您必須先關閉DrawingContext , 才能轉譯此DrawingGroup物件。You must close the DrawingContext before you can render this DrawingGroup object.

適用於

另請參閱