Represents a Windows rich text box control, with some impovements.

Hierarchy

  • StiRichBoxControl

Index

Constructors

constructor

Properties

font

font: Font = new Font("Arial", 12)

selectedText

selectedText: string = ""

selectionAlignment

selectionAlignment: StiRichTextAlignment

selectionColor

selectionColor: Color = Color.black

selectionFont

selectionFont: Font = new Font("Arial", 12)

text

text: string = ""

Methods

beginUpdate

  • beginUpdate(): void
  • Returns void

endUpdate

  • endUpdate(): void
  • Returns void

select

  • select(start: number, end: number): void
  • Parameters

    • start: number
    • end: number

    Returns void

selectAll

  • selectAll(): void
  • Returns void

setSelectionBold

  • setSelectionBold(bold: boolean): boolean
  • Parameters

    • bold: boolean

    Returns boolean

setSelectionFont

  • setSelectionFont(face: string): boolean
  • Parameters

    • face: string

    Returns boolean

setSelectionItalic

  • setSelectionItalic(italic: boolean): boolean
  • Parameters

    • italic: boolean

    Returns boolean

setSelectionSize

  • setSelectionSize(size: number): boolean
  • Parameters

    • size: number

    Returns boolean

setSelectionUnderlined

  • setSelectionUnderlined(underlined: boolean): boolean
  • Parameters

    • underlined: boolean

    Returns boolean

Generated using TypeDoc