public class DgnImage extends Image
Dgn image class
| Modifier and Type | Method and Description |
|---|---|
void |
cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying
DataStreamSupporter.DataStreamContainer. |
com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DgnDrawingElementBase> |
getElements()
Gets elements were read from source file
|
int |
getHeight()
Gets the image height.
|
boolean |
getIs3DImage()
Gets a value indicating whether file is 3D or not
|
Cad3DPoint |
getMaxPoint()
Gets the max point.
|
Cad3DPoint |
getMinPoint()
Gets the min point.
|
String[] |
getStrings()
Gets all string values from image.
|
int |
getSubUnitType()
Gets current sub-unit type.
|
com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DgnElement> |
getTags()
Gets the tags.
|
int |
getVersion()
Gets DGN version of loaded image
|
com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DgnViewInfo> |
getViews()
Gets the views.
|
int |
getWidth()
Gets the image width.
|
boolean |
isCached()
Gets a value indicating whether object's data is cached currently and no data reading is required.
|
canLoad, canLoad, canLoad, canLoad, canSave, getBackgroundColor, getBounds, getContainer, getFileFormat, getFileFormat, getPalette, getSize, getUnitlessDefaultUnitType, getUnitType, hasBackgroundColor, load, load, load, load, save, save, save, setBackgroundColor, setBackgroundColor, setPalettepublic int getSubUnitType()
Gets current sub-unit type.
public final boolean isCached()
Gets a value indicating whether object's data is cached currently and no data reading is required.
isCached in class com.aspose.cad.DataStreamSupportertrue if object's data is cached; otherwise, false.public int getVersion()
Gets DGN version of loaded image
public boolean getIs3DImage()
Gets a value indicating whether file is 3D or not
public int getWidth()
Gets the image width.
getWidth in interface IObjectWithBoundsgetWidth in class Imagepublic int getHeight()
Gets the image height.
getHeight in interface IObjectWithBoundsgetHeight in class Imagepublic com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DgnDrawingElementBase> getElements()
Gets elements were read from source file
public final com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DgnElement> getTags()
Gets the tags.
public Cad3DPoint getMaxPoint()
Gets the max point.
public Cad3DPoint getMinPoint()
Gets the min point.
public com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DgnViewInfo> getViews()
Gets the views.
public final void cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying DataStreamSupporter.DataStreamContainer.
cacheData in class com.aspose.cad.DataStreamSupporterpublic String[] getStrings()
Gets all string values from image.
getStrings in class Image