ImageGear .NET - Updated
ImGearARTRuler Constructor(ImGearPoint,ImGearPoint,IImGearRGBQuad,ImGearARTPenStyle,Int32,Int32,Int32,Int32,Int32,Int32,Int32,Int32,Int32,String,String,Single,ImGearARTFontStyles)




ImageGear24.Art Assembly > ImageGear.ART Namespace > ImGearARTRuler Class > ImGearARTRuler Constructor : ImGearARTRuler Constructor(ImGearPoint,ImGearPoint,IImGearRGBQuad,ImGearARTPenStyle,Int32,Int32,Int32,Int32,Int32,Int32,Int32,Int32,Int32,String,String,Single,ImGearARTFontStyles)
Start point of the mark.
End point of the mark.
Mark color.
Mark's line style.
Mark's line width.
Opacity of the mark.
Mark's X aspect numerator value.
Mark's X aspect denominator value.
Mark's Y aspect numerator value.
Mark's Y aspect denominator value.
Length of the start line of the mark.
Length of the end line of the mark.
The number of decimal digits displayed for the mark.
Mark's label.
The name of the font.
The size of the font in points.
The style of the font.
Initializes a new instance of the ImGearARTRuler class object.
Syntax
'Declaration
 
Public Function New( _
   ByVal startPoint As ImGearPoint, _
   ByVal endPoint As ImGearPoint, _
   ByVal color As IImGearRGBQuad, _
   ByVal style As ImGearARTPenStyle, _
   ByVal width As Integer, _
   ByVal opacity As Integer, _
   ByVal aspectNumeratorX As Integer, _
   ByVal aspectDenominatorX As Integer, _
   ByVal aspectNumeratorY As Integer, _
   ByVal aspectDenominatorY As Integer, _
   ByVal startLineLength As Integer, _
   ByVal endLineLength As Integer, _
   ByVal precision As Integer, _
   ByVal label As String, _
   ByVal fontName As String, _
   ByVal fontSize As Single, _
   ByVal fontStyle As ImGearARTFontStyles _
)
'Usage
 
Dim startPoint As ImGearPoint
Dim endPoint As ImGearPoint
Dim color As IImGearRGBQuad
Dim style As ImGearARTPenStyle
Dim width As Integer
Dim opacity As Integer
Dim aspectNumeratorX As Integer
Dim aspectDenominatorX As Integer
Dim aspectNumeratorY As Integer
Dim aspectDenominatorY As Integer
Dim startLineLength As Integer
Dim endLineLength As Integer
Dim precision As Integer
Dim label As String
Dim fontName As String
Dim fontSize As Single
Dim fontStyle As ImGearARTFontStyles
 
Dim instance As New ImGearARTRuler(startPoint, endPoint, color, style, width, opacity, aspectNumeratorX, aspectDenominatorX, aspectNumeratorY, aspectDenominatorY, startLineLength, endLineLength, precision, label, fontName, fontSize, fontStyle)

Parameters

startPoint
Start point of the mark.
endPoint
End point of the mark.
color
Mark color.
style
Mark's line style.
width
Mark's line width.
opacity
Opacity of the mark.
aspectNumeratorX
Mark's X aspect numerator value.
aspectDenominatorX
Mark's X aspect denominator value.
aspectNumeratorY
Mark's Y aspect numerator value.
aspectDenominatorY
Mark's Y aspect denominator value.
startLineLength
Length of the start line of the mark.
endLineLength
Length of the end line of the mark.
precision
The number of decimal digits displayed for the mark.
label
Mark's label.
fontName
The name of the font.
fontSize
The size of the font in points.
fontStyle
The style of the font.
See Also

Reference

ImGearARTRuler Class
ImGearARTRuler Members
Overload List
ImGearPoint Structure
ImGearRGBQuad Structure
ImGearARTPenStyle Enumeration
ImGearARTFontStyles Enumeration