Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

ce45efac c469 6b62 0c0b a1f28c8b9d6d

haplokuon edited this page May 6, 2023 · 1 revision

TryParseStringRepresentation Method

netDxf 3.0.0 Library

Tries to convert the specified string representation of a tolerance to its tolerance entity equivalent. A return value indicates whether the conversion succeeded or failed.

Definition

Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static bool TryParseStringRepresentation(
	string s,
	out Tolerance result
)

VB

Public Shared Function TryParseStringRepresentation ( 
	s As String,
	<OutAttribute> ByRef result As Tolerance
) As Boolean

C++

public:
static bool TryParseStringRepresentation(
	String^ s, 
	[OutAttribute] Tolerance^% result
)

F#

static member TryParseStringRepresentation : 
        s : string * 
        result : Tolerance byref -> bool 

Parameters

  String
A string that represents the tolerance to convert.
  Tolerance
If the conversion has been successful, it contains the tolerance entity equivalent to the string representation; otherwise, null.

Return Value

Boolean
True if the string was converted successfully; otherwise, false.

See Also

Reference

Tolerance Class
netDxf.Entities Namespace

Clone this wiki locally