Suki RichInk
SpellBuddy.com
SpellBuddy.com




System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        SpellBuddy.WindowsCE.Forms.RichInkBox
          SpellBuddy.WindowsCE.Forms.RichInkBox.INKSTYLE


Public Constructors

INKSTYLE
INKSTYLE()

Creates an InkStyle class used for setting text properties in a RichInkBox or SukiRichInk control.



Public Properties

Alignment
public Integer Alignment { get; set; }

Gets or sets the Font Alignment for the Ink Style.

Values:
0=left
1=right
2=center


Available
public bool Available { get; }

Gets a value that indicates the Ink Style is available for the selection. Check this value is true before using the other property values in this class.

Example
if (inkstyle.Available)
{
      // the RichInkBox was not busy and the InkStyle values are valid
}

FontColor
public Integer FontColor { get; set; }

Gets or sets the Font Color for the Ink Style.

Values:
0 - 15


FontName
public String FontName { get; set; }

Gets or sets the Font Name for the Ink Style.


FontSize
public Integer FontSize { get; set; }

Gets or sets the Font Size for the Ink Style.


FontWeight
public Integer FontWeight { get; set; }

Gets or sets the Font Weight for the Ink Style.

Values:
0=fine
1=normal
2=bold
3=heavy


Highlight
public bool Highlight { get; set; }

Gets or sets Highlight for the Ink Style.


Italic
public bool Italic { get; set; }

Gets or sets Italics for the Ink Style.


MixedHighlight
public bool MixedHighlight { get; }

Gets a value that indicates there is two or more Font Styles in the selection.


MixedItalic
public bool MixedItalic { get; }

Gets a value that indicates there is two or more Font Styles in the selection.


MixedStrikeout
public bool MixedStrikeout { get; }

Gets a value that indicates there is two or more Font Styles in the selection.


MixedUnderline
public bool MixedUnderline { get; }

Gets a value that indicates there is two or more Font Styles in the selection.


MultipleAlignment
public bool MultipleAlignment { get; }

Gets a value that indicates there is two or more Font Styles in the selection.


MultipleFontColor
public bool MultipleFontColor { get; }

Gets a value that indicates there is two or more Font Styles in the selection.


MultipleFontName
public bool MultipleFontName { get; }

Gets a value that indicates there is two or more Font Styles in the selection.


MultipleFontSize
public bool MultipleFontSize { get; }

Gets a value that indicates there is two or more Font Styles in the selection.


MultipleFontWeight
public bool MultipleFontWeight { get; }

Gets a value that indicates there is two or more Font Styles in the selection.


SetAlignment
public bool SetAlignment { set; }

Set this value true to change that characteristic of the Font Style when updated.


SetFontColor
public bool SetFontColor { set; }

Set this value true to change that characteristic of the Font Style when updated.


SetFontName
public bool SetFontName { set; }

Set this value true to change that characteristic of the Font Style when updated.


SetFontSize
public bool SetFontSize { set; }

Set this value true to change that characteristic of the Font Style when updated.


SetFontWeight
public bool SetFontWeight { set; }

Set this value true to change that characteristic of the Font Style when updated.


SetHighlight
public bool SetHighlight { set; }

Set this value true to change that characteristic of the Font Style when updated.


SetItalic
public bool SetItalic { set; }

Set this value true to change that characteristic of the Font Style when updated.


SetStrikeout
public bool SetStrikeout { set; }

Set this value true to change that characteristic of the Font Style when updated.


SetUnderline
public bool SetUnderline { set; }

Set this value true to change that characteristic of the Font Style when updated.


Strikeout
public bool Strikeout { get; set; }

Gets or sets Strikeout for the Ink Style.


Underline
public bool Underline { get; set; }

Gets or sets Underline for the Ink Style.



SpellBuddy Copyright © 2003-2008, Craig Lubitz. All Rights Reserved. Parts of this web site are Copyright © 2002, John Minadeo. All Rights Reserved.