DrawObjectsInRealWorldCoordinates
Contents
[
Hide
]DwfPageEPlot.DrawObjectsInRealWorldCoordinates property
Gets the collection of entities scaled to real-world units from resource with role ‘2d streaming graphics’.
public DwfWhipDrawable[] DrawObjectsInRealWorldCoordinates { get; }
Return Value
The collection of entities scaled to real-world units or ’null’ value, if resource does not contain the ‘Units’ operand.
Examples
Retrieves the collection of entities scaled to real-world units.
string file = "ExampleFile.dwf";
DwfWhipDrawable[] result;
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)
{
result = page.DrawObjectsInRealWorldCoordinates;
}
}
foreach (DwfWhipDrawable s in result)
{
Do something;
}
See Also
- class DwfWhipDrawable
- class DwfPageEPlot
- namespace Aspose.CAD.FileFormats.Dwf.EPlotInterface
- assembly Aspose.CAD