This repository was archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 438
b9cff757 bf8e 351c 6fc0 ab805c7c2ae2
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Formats a text string to represent a fraction.
Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public void WriteFraction(
string numerator,
string denominator,
FractionFormatType fractionType,
MTextFormattingOptions options
)VB
Public Sub WriteFraction (
numerator As String,
denominator As String,
fractionType As FractionFormatType,
options As MTextFormattingOptions
)C++
public:
void WriteFraction(
String^ numerator,
String^ denominator,
FractionFormatType fractionType,
MTextFormattingOptions^ options
)F#
member WriteFraction :
numerator : string *
denominator : string *
fractionType : FractionFormatType *
options : MTextFormattingOptions -> unit - String
- Fraction numerator.
- String
- Fraction denominator.
- FractionFormatType
- Style of the fraction.
- MTextFormattingOptions
- Text formatting options.
A text string that represents the fraction.
In fractions the characters '/' and '#' are reserved if you need to write them you must write "/" and "#", respectively.
Do not combine fractions with super or subscript options, it is not supported (stacking commands cannot be nested).
MText Class
WriteFraction Overload
netDxf.Entities Namespace