The FormatInkDlg Class

The FormatInkDlg Class

The FormatInkDlg class implements a dialog box used to edit an instance of the DrawingAttributes class. It allows the user to view and alter all the instance s properties.

To use the FormatInkDlg class, create an instance using the new operator, set the DrawingAttributes property to a valid instance of the DrawingAttributes class, and then call ShowDialog. The result returned from the ShowDialog method is either DialogResult.OK or DialogResult.Cancel. DialogResult.OK means the user clicked the OK button, typically indicating that the Drawing Attributes instance should be applied or stored.

The initial DrawingAttributes instance assigned to the DrawingAttributes property will not be modified, regardless of the user s interaction with the dialog box.

FormatInkDlg

public FormatInkDlg()

Class constructor.

DrawingAttributes

public DrawingAttributes DrawingAttributes

This property gets or sets the DrawingAttributes instance the dialog box uses. When setting the value, the source instance will not be modified in any way.



Building Tablet PC Applications
Building Tablet PC Applications (Pro-Developer)
ISBN: 0735617236
EAN: 2147483647
Year: 2001
Pages: 73

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net