RealWorldUnits
Contents
[
Hide
]DwfPageEPlot.RealWorldUnits property
Gets the real-world scale units. String label that indicates the unit of measure that scale represents when measuring a single logical coordinate.
public string RealWorldUnits { get; }
Return Value
The the real-world scale units or empty string, if the unit name is not specified or resource does not contain the ‘Units’ operand.
Examples
Gets the real-world scale units.
string file = "ExampleFile.dwf";
using (FileStream inStream = new FileStream(file, FileMode.Open))
using (DwfImage image = (DwfImage)Image.Load(inStream))
{
DwfPageEPlot page = image.Pages[0] as DwfPageEPlot;
if (page != null)
{
string unitsName =page.RealWorldUnits;
}
}
See Also
- class DwfPageEPlot
- namespace Aspose.CAD.FileFormats.Dwf.EPlotInterface
- assembly Aspose.CAD