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

c79e81c3 1b66 c925 1e17 61edf73e3416

haplokuon edited this page May 6, 2023 · 1 revision

ToFractional Method

netDxf 3.0.0 Library

Converts a length value into its fractional string representation.

Definition

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

C#

public static string ToFractional(
	double length,
	UnitStyleFormat format
)

VB

Public Shared Function ToFractional ( 
	length As Double,
	format As UnitStyleFormat
) As String

C++

public:
static String^ ToFractional(
	double length, 
	UnitStyleFormat^ format
)

F#

static member ToFractional : 
        length : float * 
        format : UnitStyleFormat -> string 

Parameters

  Double
The length value.
  UnitStyleFormat
The unit style format.

Return Value

String
A string that represents the length in fractional units.

See Also

Reference

LinearUnitFormat Class
netDxf.Units Namespace

Clone this wiki locally