AnnotationLineCapLineCapSizeFromString Method |
Converts the string representation of the annotation cap size,
which are used by JavaScript on client part, to the numerical values used by AnnotationLineCap class.
Namespace:
Atalasoft.Annotate
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static SizeF LineCapSizeFromString(
AnnotationLineCapStyle style,
string width,
string height,
float lineCapWidth
)
Public Shared Function LineCapSizeFromString (
style As AnnotationLineCapStyle,
width As String,
height As String,
lineCapWidth As Single
) As SizeF
Parameters
- style
- Type: Atalasoft.AnnotateAnnotationLineCapStyle
The style of the line cap. - width
- Type: SystemString
The string describing the cap width. Valid values are: narrow, medium, wide. - height
- Type: SystemString
The string describing the cap height. Valid values are: short, medium, long. - lineCapWidth
- Type: SystemSingle
The width of line.
Return Value
Type:
SizeF Numerical values that can be used by AnnotationLineCap class.
See Also