Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Shared / System / Windows / Ink / KnownIds.cs / 1 / KnownIds.cs
using System;
using System.Collections;
using System.IO;
using MS.Internal.Ink.InkSerializedFormat;
namespace System.Windows.Ink
{
///
/// DrawingAttributeIds
///
public static class DrawingAttributeIds
{
///
/// [To be supplied.]
///
public static readonly Guid Color = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.ColorRef];
///
/// Guid identifying the StylusTip
///
public static readonly Guid StylusTip = new Guid(0x3526c731, 0xee79, 0x4988, 0xb9, 0x3e, 0x70, 0xd9, 0x2f, 0x89, 0x7, 0xed);
///
/// Guid identifying the StylusTipTransform
///
public static readonly Guid StylusTipTransform = new Guid(0x4b63bc16, 0x7bc4, 0x4fd2, 0x95, 0xda, 0xac, 0xff, 0x47, 0x75, 0x73, 0x2d);
///
/// The height of the pen tip which affects the stroke rendering.
///
public static readonly Guid StylusHeight = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.StylusHeight];
///
/// The width of the pen tip which affects the stroke rendering.
///
public static readonly Guid StylusWidth = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.StylusWidth];
///
/// [To be supplied.]
///
public static readonly Guid DrawingFlags = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.DrawingFlags];
///
/// Guid identifying IsHighlighter
///
public static readonly Guid IsHighlighter = new Guid(0xce305e1a, 0xe08, 0x45e3, 0x8c, 0xdc, 0xe4, 0xb, 0xb4, 0x50, 0x6f, 0x21);
}
///
/// [To be supplied.]
///
internal static class KnownIds
{
#region Public Ids
///
/// [To be supplied.]
///
internal static readonly Guid X = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.X];
///
/// [To be supplied.]
///
internal static readonly Guid Y = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.Y];
///
/// [To be supplied.]
///
internal static readonly Guid Z = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.Z];
///
/// [To be supplied.]
///
internal static readonly Guid PacketStatus = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.PacketStatus];
///
/// [To be supplied.]
///
internal static readonly Guid TimerTick = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.TimerTick];
///
/// [To be supplied.]
///
internal static readonly Guid SerialNumber = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.SerialNumber];
///
/// [To be supplied.]
///
internal static readonly Guid NormalPressure = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.NormalPressure];
///
/// [To be supplied.]
///
internal static readonly Guid TangentPressure = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.TangentPressure];
///
/// [To be supplied.]
///
internal static readonly Guid ButtonPressure = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.ButtonPressure];
///
/// [To be supplied.]
///
internal static readonly Guid XTiltOrientation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.XTiltOrientation];
///
/// [To be supplied.]
///
internal static readonly Guid YTiltOrientation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.YTiltOrientation];
///
/// [To be supplied.]
///
internal static readonly Guid AzimuthOrientation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.AzimuthOrientation];
///
/// [To be supplied.]
///
internal static readonly Guid AltitudeOrientation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.AltitudeOrientation];
///
/// [To be supplied.]
///
internal static readonly Guid TwistOrientation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.TwistOrientation];
///
/// [To be supplied.]
///
internal static readonly Guid PitchRotation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.PitchRotation];
///
/// [To be supplied.]
///
internal static readonly Guid RollRotation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.RollRotation];
///
/// [To be supplied.]
///
internal static readonly Guid YawRotation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.YawRotation];
///
/// [To be supplied.]
///
internal static readonly Guid Color = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.ColorRef];
///
/// [To be supplied.]
///
internal static readonly Guid DrawingFlags = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.DrawingFlags];
///
/// [To be supplied.]
///
internal static readonly Guid CursorId = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.CursorId];
///
/// [To be supplied.]
///
internal static readonly Guid WordAlternates = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.WordAlternates];
///
/// [To be supplied.]
///
internal static readonly Guid CharacterAlternates = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.CharAlternates];
///
/// [To be supplied.]
///
internal static readonly Guid InkMetrics = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.InkMetrics];
///
/// [To be supplied.]
///
internal static readonly Guid GuideStructure = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.GuideStructure];
///
/// [To be supplied.]
///
internal static readonly Guid Timestamp = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.Timestamp];
///
/// [To be supplied.]
///
internal static readonly Guid Language = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.Language];
///
/// [To be supplied.]
///
internal static readonly Guid Transparency = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.Transparency];
///
/// [To be supplied.]
///
internal static readonly Guid CurveFittingError = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.CurveFittingError];
///
/// [To be supplied.]
///
internal static readonly Guid RecognizedLattice = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.RecoLattice];
///
/// [To be supplied.]
///
internal static readonly Guid CursorDown = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.CursorDown];
///
/// [To be supplied.]
///
internal static readonly Guid SecondaryTipSwitch = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.SecondaryTipSwitch];
///
/// [To be supplied.]
///
internal static readonly Guid TabletPick = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.TabletPick];
///
/// [To be supplied.]
///
internal static readonly Guid BarrelDown = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.BarrelDown];
///
/// [To be supplied.]
///
internal static readonly Guid RasterOperation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.RasterOperation];
///
/// The height of the pen tip which affects the stroke rendering.
///
internal static readonly Guid StylusHeight = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.StylusHeight];
///
/// The width of the pen tip which affects the stroke rendering.
///
internal static readonly Guid StylusWidth = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.StylusWidth];
///
/// Guid identifying the highlighter property
///
internal static readonly Guid Highlighter = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.Highlighter];
///
/// Guid identifying the Ink properties
///
internal static readonly Guid InkProperties = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.InkProperties];
///
/// Guid identifying the Ink Style bold property
///
internal static readonly Guid InkStyleBold = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.InkStyleBold];
///
/// Guid identifying the ink style italics property
///
internal static readonly Guid InkStyleItalics = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.InkStyleItalics];
///
/// Guid identifying the stroke timestamp property
///
internal static readonly Guid StrokeTimestamp = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.StrokeTimestamp];
///
/// Guid identifying the stroke timeid property
///
internal static readonly Guid StrokeTimeId = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.StrokeTimeId];
///
/// Guid identifying the StylusTip
///
internal static readonly Guid StylusTip = new Guid(0x3526c731, 0xee79, 0x4988, 0xb9, 0x3e, 0x70, 0xd9, 0x2f, 0x89, 0x7, 0xed);
///
/// Guid identifying the StylusTipTransform
///
internal static readonly Guid StylusTipTransform = new Guid(0x4b63bc16, 0x7bc4, 0x4fd2, 0x95, 0xda, 0xac, 0xff, 0x47, 0x75, 0x73, 0x2d);
///
/// Guid identifying IsHighlighter
///
internal static readonly Guid IsHighlighter = new Guid(0xce305e1a, 0xe08, 0x45e3, 0x8c, 0xdc, 0xe4, 0xb, 0xb4, 0x50, 0x6f, 0x21);
// ///
// /// Guid used for identifying the fill-brush for rendering a stroke.
// ///
// public static readonly Guid FillBrush = new Guid(0x9a547c5c, 0x1fff, 0x4987, 0x8a, 0xb6, 0xbe, 0xed, 0x75, 0xde, 0xa, 0x1d);
//
// ///
// /// Guid used for identifying the pen used for rendering a stroke's outline.
// ///
// public static readonly Guid OutlinePen = new Guid(0x9967aea6, 0x3980, 0x4337, 0xb7, 0xc6, 0x34, 0xa, 0x33, 0x98, 0x8e, 0x6b);
//
// ///
// /// Guid used for identifying the blend mode used for rendering a stroke (similar to ROP in v1).
// ///
// public static readonly Guid BlendMode = new Guid(0xd6993943, 0x7a84, 0x4a80, 0x84, 0x68, 0xa8, 0x3c, 0xca, 0x65, 0xb0, 0x5);
//
// ///
// /// Guid used for identifying StylusShape object
// ///
// public static readonly Guid StylusShape = new Guid(0xf998e7f8, 0x7cdb, 0x4c0e, 0xb2, 0xe2, 0x63, 0x2b, 0xca, 0x21, 0x2a, 0x7b);
#endregion
#region Internal Ids
///
/// The style of the rendering used for the pen tip.
///
internal static readonly Guid PenStyle = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.PenStyle];
///
/// The shape of the tip of the pen used for stroke rendering.
///
internal static readonly Guid PenTip = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.PenTip];
///
/// Guid used for identifying the Custom Stroke
///
/// NTRAID#T2-17751-2003/11/26-[....]: SPECISSUE: Should we hide the CustomStrokes and StrokeLattice data?
internal static readonly Guid InkCustomStrokes = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.InkCustomStrokes];
///
/// Guid used for identifying the Stroke Lattice
///
internal static readonly Guid InkStrokeLattice = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.InkStrokeLattice];
#if UNDO_ENABLED
///
/// Guid used for identifying if an undo/event has already been handled
///
/// {053BF717-DBE7-4e52-805E-64906138FAAD}
internal static readonly Guid UndoEventArgsHandled = new Guid(0x53bf717, 0xdbe7, 0x4e52, 0x80, 0x5e, 0x64, 0x90, 0x61, 0x38, 0xfa, 0xad);
#endif
#endregion
#region Known Id Helpers
private static System.Reflection.MemberInfo[] PublicMemberInfo = null;
internal static string ConvertToString (Guid id)
{
// Assert Reflection permissions shouldn't be required since we are only accessing public members
if (null == PublicMemberInfo)
{
PublicMemberInfo = typeof(KnownIds).FindMembers(System.Reflection.MemberTypes.Field,
System.Reflection.BindingFlags.Static |
System.Reflection.BindingFlags.GetField |
System.Reflection.BindingFlags.Instance |
System.Reflection.BindingFlags.Public |
System.Reflection.BindingFlags.Default,
null, null);
}
foreach (System.Reflection.MemberInfo info in PublicMemberInfo)
{
if ( id == (Guid)typeof(KnownIds).InvokeMember(info.Name,
System.Reflection.BindingFlags.Static |
System.Reflection.BindingFlags.GetField |
System.Reflection.BindingFlags.Instance |
System.Reflection.BindingFlags.Public |
System.Reflection.BindingFlags.Default,
null, null, new object[]{},
System.Globalization.CultureInfo.InvariantCulture) )
{
return info.Name;
}
}
return id.ToString();
}
#endregion
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Collections;
using System.IO;
using MS.Internal.Ink.InkSerializedFormat;
namespace System.Windows.Ink
{
///
/// DrawingAttributeIds
///
public static class DrawingAttributeIds
{
///
/// [To be supplied.]
///
public static readonly Guid Color = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.ColorRef];
///
/// Guid identifying the StylusTip
///
public static readonly Guid StylusTip = new Guid(0x3526c731, 0xee79, 0x4988, 0xb9, 0x3e, 0x70, 0xd9, 0x2f, 0x89, 0x7, 0xed);
///
/// Guid identifying the StylusTipTransform
///
public static readonly Guid StylusTipTransform = new Guid(0x4b63bc16, 0x7bc4, 0x4fd2, 0x95, 0xda, 0xac, 0xff, 0x47, 0x75, 0x73, 0x2d);
///
/// The height of the pen tip which affects the stroke rendering.
///
public static readonly Guid StylusHeight = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.StylusHeight];
///
/// The width of the pen tip which affects the stroke rendering.
///
public static readonly Guid StylusWidth = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.StylusWidth];
///
/// [To be supplied.]
///
public static readonly Guid DrawingFlags = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.DrawingFlags];
///
/// Guid identifying IsHighlighter
///
public static readonly Guid IsHighlighter = new Guid(0xce305e1a, 0xe08, 0x45e3, 0x8c, 0xdc, 0xe4, 0xb, 0xb4, 0x50, 0x6f, 0x21);
}
///
/// [To be supplied.]
///
internal static class KnownIds
{
#region Public Ids
///
/// [To be supplied.]
///
internal static readonly Guid X = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.X];
///
/// [To be supplied.]
///
internal static readonly Guid Y = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.Y];
///
/// [To be supplied.]
///
internal static readonly Guid Z = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.Z];
///
/// [To be supplied.]
///
internal static readonly Guid PacketStatus = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.PacketStatus];
///
/// [To be supplied.]
///
internal static readonly Guid TimerTick = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.TimerTick];
///
/// [To be supplied.]
///
internal static readonly Guid SerialNumber = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.SerialNumber];
///
/// [To be supplied.]
///
internal static readonly Guid NormalPressure = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.NormalPressure];
///
/// [To be supplied.]
///
internal static readonly Guid TangentPressure = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.TangentPressure];
///
/// [To be supplied.]
///
internal static readonly Guid ButtonPressure = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.ButtonPressure];
///
/// [To be supplied.]
///
internal static readonly Guid XTiltOrientation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.XTiltOrientation];
///
/// [To be supplied.]
///
internal static readonly Guid YTiltOrientation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.YTiltOrientation];
///
/// [To be supplied.]
///
internal static readonly Guid AzimuthOrientation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.AzimuthOrientation];
///
/// [To be supplied.]
///
internal static readonly Guid AltitudeOrientation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.AltitudeOrientation];
///
/// [To be supplied.]
///
internal static readonly Guid TwistOrientation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.TwistOrientation];
///
/// [To be supplied.]
///
internal static readonly Guid PitchRotation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.PitchRotation];
///
/// [To be supplied.]
///
internal static readonly Guid RollRotation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.RollRotation];
///
/// [To be supplied.]
///
internal static readonly Guid YawRotation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.YawRotation];
///
/// [To be supplied.]
///
internal static readonly Guid Color = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.ColorRef];
///
/// [To be supplied.]
///
internal static readonly Guid DrawingFlags = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.DrawingFlags];
///
/// [To be supplied.]
///
internal static readonly Guid CursorId = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.CursorId];
///
/// [To be supplied.]
///
internal static readonly Guid WordAlternates = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.WordAlternates];
///
/// [To be supplied.]
///
internal static readonly Guid CharacterAlternates = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.CharAlternates];
///
/// [To be supplied.]
///
internal static readonly Guid InkMetrics = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.InkMetrics];
///
/// [To be supplied.]
///
internal static readonly Guid GuideStructure = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.GuideStructure];
///
/// [To be supplied.]
///
internal static readonly Guid Timestamp = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.Timestamp];
///
/// [To be supplied.]
///
internal static readonly Guid Language = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.Language];
///
/// [To be supplied.]
///
internal static readonly Guid Transparency = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.Transparency];
///
/// [To be supplied.]
///
internal static readonly Guid CurveFittingError = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.CurveFittingError];
///
/// [To be supplied.]
///
internal static readonly Guid RecognizedLattice = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.RecoLattice];
///
/// [To be supplied.]
///
internal static readonly Guid CursorDown = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.CursorDown];
///
/// [To be supplied.]
///
internal static readonly Guid SecondaryTipSwitch = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.SecondaryTipSwitch];
///
/// [To be supplied.]
///
internal static readonly Guid TabletPick = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.TabletPick];
///
/// [To be supplied.]
///
internal static readonly Guid BarrelDown = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.BarrelDown];
///
/// [To be supplied.]
///
internal static readonly Guid RasterOperation = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.RasterOperation];
///
/// The height of the pen tip which affects the stroke rendering.
///
internal static readonly Guid StylusHeight = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.StylusHeight];
///
/// The width of the pen tip which affects the stroke rendering.
///
internal static readonly Guid StylusWidth = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.StylusWidth];
///
/// Guid identifying the highlighter property
///
internal static readonly Guid Highlighter = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.Highlighter];
///
/// Guid identifying the Ink properties
///
internal static readonly Guid InkProperties = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.InkProperties];
///
/// Guid identifying the Ink Style bold property
///
internal static readonly Guid InkStyleBold = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.InkStyleBold];
///
/// Guid identifying the ink style italics property
///
internal static readonly Guid InkStyleItalics = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.InkStyleItalics];
///
/// Guid identifying the stroke timestamp property
///
internal static readonly Guid StrokeTimestamp = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.StrokeTimestamp];
///
/// Guid identifying the stroke timeid property
///
internal static readonly Guid StrokeTimeId = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.StrokeTimeId];
///
/// Guid identifying the StylusTip
///
internal static readonly Guid StylusTip = new Guid(0x3526c731, 0xee79, 0x4988, 0xb9, 0x3e, 0x70, 0xd9, 0x2f, 0x89, 0x7, 0xed);
///
/// Guid identifying the StylusTipTransform
///
internal static readonly Guid StylusTipTransform = new Guid(0x4b63bc16, 0x7bc4, 0x4fd2, 0x95, 0xda, 0xac, 0xff, 0x47, 0x75, 0x73, 0x2d);
///
/// Guid identifying IsHighlighter
///
internal static readonly Guid IsHighlighter = new Guid(0xce305e1a, 0xe08, 0x45e3, 0x8c, 0xdc, 0xe4, 0xb, 0xb4, 0x50, 0x6f, 0x21);
// ///
// /// Guid used for identifying the fill-brush for rendering a stroke.
// ///
// public static readonly Guid FillBrush = new Guid(0x9a547c5c, 0x1fff, 0x4987, 0x8a, 0xb6, 0xbe, 0xed, 0x75, 0xde, 0xa, 0x1d);
//
// ///
// /// Guid used for identifying the pen used for rendering a stroke's outline.
// ///
// public static readonly Guid OutlinePen = new Guid(0x9967aea6, 0x3980, 0x4337, 0xb7, 0xc6, 0x34, 0xa, 0x33, 0x98, 0x8e, 0x6b);
//
// ///
// /// Guid used for identifying the blend mode used for rendering a stroke (similar to ROP in v1).
// ///
// public static readonly Guid BlendMode = new Guid(0xd6993943, 0x7a84, 0x4a80, 0x84, 0x68, 0xa8, 0x3c, 0xca, 0x65, 0xb0, 0x5);
//
// ///
// /// Guid used for identifying StylusShape object
// ///
// public static readonly Guid StylusShape = new Guid(0xf998e7f8, 0x7cdb, 0x4c0e, 0xb2, 0xe2, 0x63, 0x2b, 0xca, 0x21, 0x2a, 0x7b);
#endregion
#region Internal Ids
///
/// The style of the rendering used for the pen tip.
///
internal static readonly Guid PenStyle = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.PenStyle];
///
/// The shape of the tip of the pen used for stroke rendering.
///
internal static readonly Guid PenTip = KnownIdCache.OriginalISFIdTable[(int)KnownIdCache.OriginalISFIdIndex.PenTip];
///
/// Guid used for identifying the Custom Stroke
///
/// NTRAID#T2-17751-2003/11/26-[....]: SPECISSUE: Should we hide the CustomStrokes and StrokeLattice data?
internal static readonly Guid InkCustomStrokes = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.InkCustomStrokes];
///
/// Guid used for identifying the Stroke Lattice
///
internal static readonly Guid InkStrokeLattice = KnownIdCache.TabletInternalIdTable[(int)KnownIdCache.TabletInternalIdIndex.InkStrokeLattice];
#if UNDO_ENABLED
///
/// Guid used for identifying if an undo/event has already been handled
///
/// {053BF717-DBE7-4e52-805E-64906138FAAD}
internal static readonly Guid UndoEventArgsHandled = new Guid(0x53bf717, 0xdbe7, 0x4e52, 0x80, 0x5e, 0x64, 0x90, 0x61, 0x38, 0xfa, 0xad);
#endif
#endregion
#region Known Id Helpers
private static System.Reflection.MemberInfo[] PublicMemberInfo = null;
internal static string ConvertToString (Guid id)
{
// Assert Reflection permissions shouldn't be required since we are only accessing public members
if (null == PublicMemberInfo)
{
PublicMemberInfo = typeof(KnownIds).FindMembers(System.Reflection.MemberTypes.Field,
System.Reflection.BindingFlags.Static |
System.Reflection.BindingFlags.GetField |
System.Reflection.BindingFlags.Instance |
System.Reflection.BindingFlags.Public |
System.Reflection.BindingFlags.Default,
null, null);
}
foreach (System.Reflection.MemberInfo info in PublicMemberInfo)
{
if ( id == (Guid)typeof(KnownIds).InvokeMember(info.Name,
System.Reflection.BindingFlags.Static |
System.Reflection.BindingFlags.GetField |
System.Reflection.BindingFlags.Instance |
System.Reflection.BindingFlags.Public |
System.Reflection.BindingFlags.Default,
null, null, new object[]{},
System.Globalization.CultureInfo.InvariantCulture) )
{
return info.Name;
}
}
return id.ToString();
}
#endregion
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DBSqlParserTableCollection.cs
- GenericAuthenticationEventArgs.cs
- MonthChangedEventArgs.cs
- CryptoProvider.cs
- XsdSchemaFileEditor.cs
- JoinElimination.cs
- AnnotationAdorner.cs
- RadialGradientBrush.cs
- TableLayoutRowStyleCollection.cs
- AnnotationResourceChangedEventArgs.cs
- TextServicesProperty.cs
- WebSysDisplayNameAttribute.cs
- XmlQueryContext.cs
- CheckBox.cs
- Page.cs
- DefaultValueTypeConverter.cs
- WebPartTransformerAttribute.cs
- Visitor.cs
- IResourceProvider.cs
- TextStore.cs
- TextProperties.cs
- __Error.cs
- SlipBehavior.cs
- RolePrincipal.cs
- NominalTypeEliminator.cs
- WebPartCatalogAddVerb.cs
- DefaultPrintController.cs
- ErrorWebPart.cs
- SQLInt64.cs
- DataViewSetting.cs
- PrinterSettings.cs
- FormViewAutoFormat.cs
- WebDisplayNameAttribute.cs
- TagPrefixInfo.cs
- PositiveTimeSpanValidator.cs
- EventListenerClientSide.cs
- SpeechAudioFormatInfo.cs
- ComNativeDescriptor.cs
- WebPartConnectionsConfigureVerb.cs
- HttpRequestTraceRecord.cs
- WebPartConnection.cs
- IEnumerable.cs
- NamedPipeProcessProtocolHandler.cs
- XmlSchemaRedefine.cs
- FunctionMappingTranslator.cs
- AssemblyInfo.cs
- InstanceValue.cs
- SelfIssuedTokenFactoryCredential.cs
- HttpCookieCollection.cs
- TextServicesDisplayAttribute.cs
- TextTreeText.cs
- BindMarkupExtensionSerializer.cs
- TriggerAction.cs
- WindowsPrincipal.cs
- Nodes.cs
- HostExecutionContextManager.cs
- RtType.cs
- ConcurrentDictionary.cs
- ChannelListenerBase.cs
- SettingsAttributeDictionary.cs
- MailMessage.cs
- CompilerInfo.cs
- BinaryWriter.cs
- SqlResolver.cs
- OleDbException.cs
- UniqueConstraint.cs
- FunctionDescription.cs
- GridViewEditEventArgs.cs
- WaitForChangedResult.cs
- AuthenticationModuleElement.cs
- DBCommandBuilder.cs
- ToolboxItemAttribute.cs
- ViewLoader.cs
- TabOrder.cs
- AnimationException.cs
- TypedDataSourceCodeGenerator.cs
- BevelBitmapEffect.cs
- Visual3DCollection.cs
- ImageListStreamer.cs
- PreservationFileReader.cs
- XmlSchemaSimpleTypeUnion.cs
- SuppressMergeCheckAttribute.cs
- BStrWrapper.cs
- DispatcherProcessingDisabled.cs
- OdbcHandle.cs
- UnsafeNativeMethodsTablet.cs
- ExtensionWindow.cs
- XmlSchemaType.cs
- WindowsGraphics2.cs
- WindowsListViewGroupSubsetLink.cs
- WindowsAuthenticationEventArgs.cs
- TrustLevelCollection.cs
- cookieexception.cs
- SmiConnection.cs
- Size3DValueSerializer.cs
- SpellerError.cs
- OrthographicCamera.cs
- RealProxy.cs
- ContextMenu.cs
- XmlSchemaDocumentation.cs