DrawingAttributeIds 클래스

정의

클래스의 속성을 식별하는 GUID 집합을 DrawingAttributes 포함합니다.

public ref class DrawingAttributeIds abstract sealed
public static class DrawingAttributeIds
type DrawingAttributeIds = class
Public Class DrawingAttributeIds
상속
DrawingAttributeIds

예제

다음 예제에서는 이벤트 내에서 변경 된 속성을 검색 하는 클래스를 사용 DrawingAttributeIds 하는 방법을 보여 줍니다 PropertyDataChanged .

void inkDA_AttributeChanged(object sender, PropertyDataChangedEventArgs e)
{
    if (e.PropertyGuid == DrawingAttributeIds.Color)
    {
        this.Title = "The pen color is: " + e.NewValue.ToString();
    }
}
Private Sub inkDA_AttributeChanged(ByVal sender As Object, _
                                  ByVal e As PropertyDataChangedEventArgs)

    If (e.PropertyGuid = DrawingAttributeIds.Color) Then
        Me.Title = "The pen color is: " + e.NewValue.ToString()
    End If

End Sub

필드

Name Description
Color

속성을 식별합니다 Color .

DrawingFlags

내부 DrawingFlags 속성을 식별합니다.

IsHighlighter

속성을 식별합니다 IsHighlighter .

StylusHeight

속성을 식별합니다 Height .

StylusTip

속성을 식별합니다 StylusTip .

StylusTipTransform

속성을 식별합니다 StylusTipTransform .

StylusWidth

속성을 식별합니다 Width .

적용 대상