ShapeGeometry.GetSelectionBorderThickness Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetSelectionBorderThickness(DiagramClientView) |
Returns the thickness of the selection border region in world units for a given view. |
GetSelectionBorderThickness(Graphics) |
Returns the thickness of the selection border region in world units for a given Graphics object. The Graphic's PageScale is used as the assumed zoom factor. |
GetSelectionBorderThickness(DiagramClientView)
Returns the thickness of the selection border region in world units for a given view.
public:
static Microsoft::VisualStudio::Modeling::Diagrams::SizeD GetSelectionBorderThickness(Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public static Microsoft.VisualStudio.Modeling.Diagrams.SizeD GetSelectionBorderThickness (Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
static member GetSelectionBorderThickness : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> Microsoft.VisualStudio.Modeling.Diagrams.SizeD
Public Shared Function GetSelectionBorderThickness (view As DiagramClientView) As SizeD
Parameters
- view
- DiagramClientView
The view the selection is drawn upon.
Returns
The thickness of the selection border in world units.
Applies to
GetSelectionBorderThickness(Graphics)
Returns the thickness of the selection border region in world units for a given Graphics object. The Graphic's PageScale is used as the assumed zoom factor.
public:
static Microsoft::VisualStudio::Modeling::Diagrams::SizeD GetSelectionBorderThickness(System::Drawing::Graphics ^ graphics);
public static Microsoft.VisualStudio.Modeling.Diagrams.SizeD GetSelectionBorderThickness (System.Drawing.Graphics graphics);
static member GetSelectionBorderThickness : System.Drawing.Graphics -> Microsoft.VisualStudio.Modeling.Diagrams.SizeD
Public Shared Function GetSelectionBorderThickness (graphics As Graphics) As SizeD
Parameters
- graphics
- Graphics
Returns
The thickness of the selection border in world units.