|
Il presente articolo è stato tradotto automaticamente. Passare il puntatore sulle frasi nell'articolo per visualizzare il testo originale. Ulteriori informazioni.
|
Traduzione
Originale
|
Metodo Stroke.GetEraseResult (IEnumerable<Point>)
Spazio dei nomi: System.Windows.Ink
Assembly: PresentationCore (in PresentationCore.dll)
Parametri
- lassoPoints
- Tipo: System.Collections.Generic.IEnumerable<Point>
Una matrice di tipo Point che specifica l'area da cancellare.
Valore restituito
Tipo: System.Windows.Ink.StrokeCollectionPoint[] myPoints = new Point[] { new Point(100, 100), new Point(200, 100), new Point(200, 200), new Point(100, 200)}; StrokeCollection eraseResults = aStroke.GetEraseResult(myPoints); // inkCanvas1 is the InkCanvas on which we update the strokes inkCanvas1.Strokes.Remove(aStroke); inkCanvas1.Strokes.Add(eraseResults);
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (ruoli di base del server non supportati), Windows Server 2008 R2 (ruoli di base del server supportati con SP1 o versione successiva, Itanium non supportato)
.NET Framework non supporta tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.