Nevron.UI Namespace / NSegmentedImage Class / NSegmentedImage Constructor / NSegmentedImage Constructor(Image,Int32,Int32,Int32,Int32,ImageSizeMode,Boolean,Boolean,ImageSegment)


NSegmentedImage Constructor(Image,Int32,Int32,Int32,Int32,ImageSizeMode,Boolean,Boolean,ImageSegment)
Syntax
'Declaration
 
Public Function New( _
   ByVal image As System.Drawing.Image, _
   ByVal leftMargin As System.Integer, _
   ByVal topMargin As System.Integer, _
   ByVal rightMargin As System.Integer, _
   ByVal bottomMargin As System.Integer, _
   ByVal sizeMode As ImageSizeMode, _
   ByVal useSegmentedStretch As System.Boolean, _
   ByVal extractImageParts As System.Boolean, _
   ByVal visibleSegments As ImageSegment _
)
 
'Usage
 
Dim image As System.Drawing.Image
Dim leftMargin As System.Integer
Dim topMargin As System.Integer
Dim rightMargin As System.Integer
Dim bottomMargin As System.Integer
Dim sizeMode As ImageSizeMode
Dim useSegmentedStretch As System.Boolean
Dim extractImageParts As System.Boolean
Dim visibleSegments As ImageSegment
 
Dim instance As New NSegmentedImage(image, leftMargin, topMargin, rightMargin, bottomMargin, sizeMode, useSegmentedStretch, extractImageParts, visibleSegments)

Parameters

image
leftMargin
topMargin
rightMargin
bottomMargin
sizeMode
useSegmentedStretch
extractImageParts
visibleSegments
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also