Parses a rectangle from given Path data value where the path data must be in the form 'M x,y L x,y L x,y L x,y' or 'M x,y L x,y L x,y Z.
Namespace: FirstFloor.DocumentsAssembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)
Syntax
| C# |
|---|
public static bool TryParsePathRect( string pathData, out Rect rect ) |
| Visual Basic |
|---|
Public Shared Function TryParsePathRect ( _ pathData As String, _ <OutAttribute> ByRef rect As Rect _ ) As Boolean |
| Visual C++ |
|---|
public: static bool TryParsePathRect( String^ pathData, [OutAttribute] Rect% rect ) |
Parameters
- pathData
- Type: System..::..String
The path data.
- rect
- Type: System.Windows..::..Rect%
The rectangle.