StylusEventArgs.GetStylusPoints Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Olayda toplanan nesneleri içeren StylusPoint bir StylusPointCollection döndürür.
Aşırı Yüklemeler
GetStylusPoints(IInputElement) |
Belirtilen giriş öğesine göre nesneleri içeren StylusPoint bir StylusPointCollection döndürür. |
GetStylusPoints(IInputElement, StylusPointDescription) |
Belirtilen öğesini kullanan ve belirtilen StylusPointDescription giriş öğesiyle ilgili nesneleri içeren StylusPoint bir StylusPointCollection döndürür. |
GetStylusPoints(IInputElement)
Belirtilen giriş öğesine göre nesneleri içeren StylusPoint bir StylusPointCollection döndürür.
public:
System::Windows::Input::StylusPointCollection ^ GetStylusPoints(System::Windows::IInputElement ^ relativeTo);
public System.Windows.Input.StylusPointCollection GetStylusPoints (System.Windows.IInputElement relativeTo);
member this.GetStylusPoints : System.Windows.IInputElement -> System.Windows.Input.StylusPointCollection
Public Function GetStylusPoints (relativeTo As IInputElement) As StylusPointCollection
Parametreler
- relativeTo
- IInputElement
IInputElement içindeki StylusPointCollection (x,y
) koordinatların eşlendiği yer.
Döndürülenler
StylusPointCollection Olayda toplanan nesneleri içeren StylusPoint bir.
Özel durumlar
relativeTo
veya FrameworkContentElementdeğildirUIElement.
Şunlara uygulanır
GetStylusPoints(IInputElement, StylusPointDescription)
Belirtilen öğesini kullanan ve belirtilen StylusPointDescription giriş öğesiyle ilgili nesneleri içeren StylusPoint bir StylusPointCollection döndürür.
public:
System::Windows::Input::StylusPointCollection ^ GetStylusPoints(System::Windows::IInputElement ^ relativeTo, System::Windows::Input::StylusPointDescription ^ subsetToReformatTo);
public System.Windows.Input.StylusPointCollection GetStylusPoints (System.Windows.IInputElement relativeTo, System.Windows.Input.StylusPointDescription subsetToReformatTo);
member this.GetStylusPoints : System.Windows.IInputElement * System.Windows.Input.StylusPointDescription -> System.Windows.Input.StylusPointCollection
Public Function GetStylusPoints (relativeTo As IInputElement, subsetToReformatTo As StylusPointDescription) As StylusPointCollection
Parametreler
- relativeTo
- IInputElement
IInputElement içindeki StylusPointCollection (x,y
) koordinatların eşlendiği yer.
- subsetToReformatTo
- StylusPointDescription
StylusPointDescription tarafından kullanılacak .StylusPointCollection
Döndürülenler
Bir StylusPointCollection olay sırasında toplanan nesneleri içeren StylusPoint .
Özel durumlar
relativeTo
veya FrameworkContentElementdeğildirUIElement.
Açıklamalar
subsetToReformatTo
yönteminden DescriptionGetStylusPoints(IInputElement) özelliğinin StylusPointCollection özelliğiyle uyumlu olmalıdır.
GetCommonDescription yöntemini çağırmadan GetStylusPoints(IInputElement, StylusPointDescription) önce almak StylusPointDescription için yöntemini kullanın.
Not
GetStylusPoints içindeki kısıtlamalar StylusPointCollectionStylusEventArgsfarklı olsa bile içindeki kısıtlamalarını subsetToReformatTo
kullanır. Örneğin, 0 ve 1023 değerlerini kullanıyor NormalPressure ancak 0 ve 255 değerlerini kullanıyorsasubsetToReformatTo
, GetStylusPoints 0 ve 255 değerlerini içeren bir StylusPointDescriptionStylusEventArgs döndürür.