LineShape.CreateAccessibilityInstance Method

Creates an object to provide information that accessibility applications use to adjust an application's user interface (UI) for users who have disabilities.

Namespace:  Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

'Declaration
Protected Overrides Function CreateAccessibilityInstance As AccessibleObject
protected override AccessibleObject CreateAccessibilityInstance()
protected:
virtual AccessibleObject^ CreateAccessibilityInstance() override
abstract CreateAccessibilityInstance : unit -> AccessibleObject  
override CreateAccessibilityInstance : unit -> AccessibleObject
protected override function CreateAccessibilityInstance() : AccessibleObject

Return Value

Type: System.Windows.Forms.AccessibleObject
A AccessibleObject class.

Remarks

Accessibility applications can adjust features of the application to improve usability for users who have disabilities.

For users who are blind or have low vision, you can adjust software and operating system features to comply with their needs. For example, you can make text and images larger and display them with a contrast. In addition, you can provide for color-blindness with the appropriate use of colors. For users who are blind or have extremely low vision, computers are accessible with screen review aids that translate on-screen text to speech or to a dynamic, refreshable Braille display.

For users who are deaf or hard of hearing, you can design programs that use visual cues, such as a flashing toolbar. For example, when turned on, the SoundSentry feature, an accessibility option in Control Panel, provides a visual warning whenever the system makes an alarm sound. You can also display spoken messages as text.

For users who have motion disabilities, you can design controls that refine or eliminate keyboard and mouse use. Control Panel offers assistance. For example, one alternative is to use the numeric keypad instead of the mouse for navigation. Another option is named StickyKeys. StickyKeys enables users who cannot hold down two or more keys at a time (such as CTRL+P) to obtain the same result by typing one key at a time.

For users who have cognitive and language disabilities, you can design software programs to better provide for their needs. For example, using conspicuous or cued sequencing, uncomplicated displays, fewer words, and a reading level targeted to elementary school standards can benefit these users.

For users who have seizure disorders, you can design software programs to eliminate patterns that could provoke seizures.

.NET Framework Security

See Also

Reference

LineShape Class

Microsoft.VisualBasic.PowerPacks Namespace

AccessibleObject

Other Resources

How to: Draw Shapes with the OvalShape and RectangleShape Controls (Visual Studio)

How to: Draw Lines with the LineShape Control (Visual Studio)

Introduction to the Line and Shape Controls (Visual Studio)