Style of dimensions used in dynamic graphics More...
Public Member Functions | |
TDimStyle | Clone () |
Clones the dimension style More... | |
Public Attributes | |
Font | Font = new Font("Arial", 12) |
Font of dimension texts More... | |
Pen | Pen = new Pen(Color.DarkBlue, 0) |
Pen used for dimension lines, arrows More... | |
Brush | Brush = new SolidBrush(Color.DarkBlue) |
Brush used to fill (render) dimension texts More... | |
string | Format = "0" |
Format of the numbers More... | |
double | Scale = 1 |
Scale of the dimensions. More... | |
float | FixedDimLength = 0 |
The length of the dimension lead line (0 = automatic) More... | |
float | Overlap = 10 |
Overlap of the dimension line, dimension lead lines More... | |
float | PointOffset = 5 |
Distance between dimension end point and dimension lead line (applicable just if FixedDimLength = 0) More... | |
float | DimArrowSize = 10 |
The size of dimesnion arrows More... | |
float | CaptionArrowSize = 10 |
The size of the caption arrow More... | |
eArrowShape | DimArrowShape = eArrowShape.Line |
The shape of the dimension arrows More... | |
eArrowShape | CaptionArrowShape = eArrowShape.Triangle2 |
The shape of the caption arrow More... | |
Properties | |
float | LineOffset [get, set] |
The distance between dimension line and dimension end points More... | |
Style of dimensions used in dynamic graphics
TDimStyle Clone | ( | ) |
Clones the dimension style
Brush Brush = new SolidBrush(Color.DarkBlue) |
Brush used to fill (render) dimension texts
eArrowShape CaptionArrowShape = eArrowShape.Triangle2 |
The shape of the caption arrow
float CaptionArrowSize = 10 |
The size of the caption arrow
eArrowShape DimArrowShape = eArrowShape.Line |
The shape of the dimension arrows
float DimArrowSize = 10 |
The size of dimesnion arrows
float FixedDimLength = 0 |
The length of the dimension lead line (0 = automatic)
Font Font = new Font("Arial", 12) |
Font of dimension texts
string Format = "0" |
Format of the numbers
See MSDN documentation of number formats
Custom formats: https://msdn.microsoft.com/cs-cz/library/0c899ak8(v=vs.110).aspx
Standard formats: https://msdn.microsoft.com/cs-cz/library/dwhawy9k(v=vs.110).aspx
float Overlap = 10 |
Overlap of the dimension line, dimension lead lines
Pen Pen = new Pen(Color.DarkBlue, 0) |
Pen used for dimension lines, arrows
See also MSDN documentation: https://msdn.microsoft.com/cs-cz/library/system.drawing.pen(v=vs.110).aspx
float PointOffset = 5 |
Distance between dimension end point and dimension lead line (applicable just if FixedDimLength = 0)
double Scale = 1 |
Scale of the dimensions.
Example 1:
Distance between dimension points (=value) is 1.234 (meters).
You want to display it in milimeters => Set Scale=1000 to get 1000*1.234 = 1234 (milimeters)
Example 2:
Your graphics is drawn in basic units (= meters), but you need dimensions in feets.
Set Scale to 1/0.3048=3.28084 to get dimensions in feets
|
getset |
The distance between dimension line and dimension end points