Share via


InkPresenter.StrokeContainer Properti

Definisi

Mendapatkan atau mengatur objek InkStrokeContainer untuk menyimpan dan mengelola koleksi objek InkStroke yang dirender oleh InkPresenter.

Modifikasi yang dilakukan pada salah satu goresan tinta dalam kontainer stroke segera dirender ke permukaan gambar yang terkait dengan InkPresenter.

public:
 property InkStrokeContainer ^ StrokeContainer { InkStrokeContainer ^ get(); void set(InkStrokeContainer ^ value); };
InkStrokeContainer StrokeContainer();

void StrokeContainer(InkStrokeContainer value);
public InkStrokeContainer StrokeContainer { get; set; }
var inkStrokeContainer = inkPresenter.strokeContainer;
inkPresenter.strokeContainer = inkStrokeContainer;
Public Property StrokeContainer As InkStrokeContainer

Nilai Properti

Menyimpan dan mengelola satu atau beberapa objek InkStroke .

Jika mode kering kustom diaktifkan (ActivateCustomDrying), StrokeContainer null.

Keterangan

Peristiwa StrokesCollected ditembakkan ketika goresan tinta diproses ("basah" hingga "kering") pada utas UI.

Untuk pengenalan tinta, gunakan objek InkRecognizerContainer .

Berlaku untuk

Lihat juga