TouchToolKit for WinForms | ComponentOne
Magnify Component / Magnifier Appearance Properties
In This Topic
    Magnifier Appearance Properties
    In This Topic

    Magnifier Appearance Properties

    You can change the appearance of the Magnifier Window by using the BorderBackgroundMode, BorderWidth, MagnifierShape and Size property. The following code creates a rectangular shaped Magnifier Window:

    Visual Basic
    Copy Code

    C1Magnify1.BorderWidth = 3

    C1Magnify1.Shape = C1.Win.TouchToolKit.MagnifierShape.Rectangle

    C1Magnify1.Size = New Size(300, 100)

    C#
    Copy Code

    C1Magnify1.BorderWidth = 3;

    C1Magnify1.Shape = C1.Win.TouchToolKit.MagnifierShape.Rectangle;

    C1Magnify1.Size = new Size(300, 100);