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

5370e9e2 f5c8 8c85 0cd8 0e011d49d3e3

haplokuon edited this page May 6, 2023 · 1 revision

ToEngineering Method

netDxf 3.0.0 Library

Converts a length value into its feet and decimal inches string representation.

Definition

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

C#

public static string ToEngineering(
	double length,
	UnitStyleFormat format
)

VB

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

C++

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

F#

static member ToEngineering : 
        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 feet and decimal inches.

Remarks

The Engineering format assumes that each drawing unit represents one inch.

See Also

Reference

LinearUnitFormat Class
netDxf.Units Namespace

Clone this wiki locally