DgnImage

Inheritance: java.lang.Object, Image

Dgn image class

Methods

MethodDescription
getSubUnitType()Gets current sub-unit type.
isCached()Gets a value indicating whether object’s data is cached currently and no data reading is required.
getVersion()Gets DGN version of loaded image
getIs3DImage()Gets a value indicating whether file is 3D or not
getWidth()Gets the image width.
getHeight()Gets the image height.
getElements()Gets elements were read from source file
getTags()Gets the tags.
getMaxPoint()Gets the max point.
getMinPoint()Gets the min point.
getViews()Gets the views.
cacheData()Caches the data and ensures no additional data loading will be performed from the underlying DataStreamSupporter.DataStreamContainer .
getStrings()Gets all string values from image.

getSubUnitType()

public int getSubUnitType()

Gets current sub-unit type.

Returns: int

isCached()

public final boolean isCached()

Gets a value indicating whether object’s data is cached currently and no data reading is required.

Returns: boolean - true if object’s data is cached; otherwise, false .

getVersion()

public int getVersion()

Gets DGN version of loaded image

Returns: int

getIs3DImage()

public boolean getIs3DImage()

Gets a value indicating whether file is 3D or not

Returns: boolean

getWidth()

public int getWidth()

Gets the image width.

Returns: int - The image width.

getHeight()

public int getHeight()

Gets the image height.

Returns: int - The image height.

getElements()

public com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DgnDrawingElementBase> getElements()

Gets elements were read from source file

Returns: com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection

getTags()

public final com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DgnElement> getTags()

Gets the tags.

Returns: com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection - The tags.

getMaxPoint()

public Cad3DPoint getMaxPoint()

Gets the max point.

Returns: Cad3DPoint

getMinPoint()

public Cad3DPoint getMinPoint()

Gets the min point.

Returns: Cad3DPoint

getViews()

public com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DgnViewInfo> getViews()

Gets the views.

Returns: com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection - The views.

cacheData()

public final void cacheData()

Caches the data and ensures no additional data loading will be performed from the underlying DataStreamSupporter.DataStreamContainer .

getStrings()

public String[] getStrings()

Gets all string values from image.

Returns: String[] - The array with string values.