Click here to Skip to main content
15,894,460 members
Articles / Web Development / ASP.NET

VML Web Controls

Rate me:
Please Sign up or sign in to vote.
4.61/5 (14 votes)
15 Dec 20055 min read 71.5K   1.9K   46  
VML drawing controls for ASP.NET web forms.
#Region "Copyright (c) Justin Carasick. All rights reserved"
'--------------------------------------------------------------------------
' <copyright>Copyright (c) Justin Carasick. All rights reserved.</copyright>
' <author>Justin Carasick</author>
' <contact>jcarasick@gmail.com</contact>
'--------------------------------------------------------------------------
#End Region
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Drawing.Design
<Serializable(), PersistenceMode(PersistenceMode.Attribute)> _
Public Class LineEndPointProperties
    Enum ArrowStyleEnum
        None
        Block
        Classic
        Diamond
        Oval
        Open
    End Enum
    Enum ArrowWidthEnum
        ArrowNarrow
        ArrowMedium
        ArrowWide
    End Enum
    Enum ArrowLengthEnum
        ArrowShort
        ArrowMedium
        ArrowLong
    End Enum
    Private _ArrowStyle As ArrowStyleEnum
    Private _ArrowLength As ArrowLengthEnum
    Private _ArrowWidth As ArrowWidthEnum
    <DesignerSerializationVisibility(DesignerSerializationVisibility.Visible), _
    NotifyParentProperty(True)> _
    Public Property ArrowStyle() As ArrowStyleEnum
        Get
            Return _ArrowStyle
        End Get
        Set(ByVal Value As ArrowStyleEnum)
            _ArrowStyle = Value
        End Set
    End Property
    <NotifyParentProperty(True)> _
    Public Property ArrowWidth() As ArrowWidthEnum
        Get
            Return _ArrowWidth
        End Get
        Set(ByVal Value As ArrowWidthEnum)
            _ArrowWidth = Value
        End Set
    End Property
    <NotifyParentProperty(True)> _
    Public Property ArrowLength() As ArrowLengthEnum
        Get
            Return _ArrowLength
        End Get
        Set(ByVal Value As ArrowLengthEnum)
            _ArrowLength = Value
        End Set
    End Property
    <Description("Define The VML End Point Style")> _
    Overrides Function ToString() As String
        Return "(VML End Point Style)"
    End Function
End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
University of Florida graduate in Geography. Currently pursuing a Master of Science in Management Information Systems.


Go Gators!

Comments and Discussions