public class IgesImage extends Image implements IHasEntities<IgesDrawableBase>
IGES Image class
Image| 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. |
int |
getDepth()
Gets Image depth
|
List<IgesDrawableBase> |
getEntities()
Gets all entities that exist on a drawing.
|
int |
getHeight()
Gets Image height
|
String[] |
getStrings()
Gets all string values from image.
|
int |
getWidth()
Gets Image width
|
boolean |
isCached()
Gets a value indicating whether object's data is cached currently and no data readig is required.
|
void |
tryRemoveEntity(IgesDrawableBase entityToRemove)
Removes entity from drawing if present
|
canLoad, canLoad, canLoad, canLoad, canSave, getAnnotationService, getBounds, getContainer, getCustomProperties, getFileFormat, getFileFormat, getPalette, getSize, getUnitlessDefaultUnitType, getUnitType, getWatermarkGuardService, load, load, load, load, load, save, save, save, setPalettegetDataStreamContainer, save, save, save, saveclose, dispose, getDisposedpublic final List<IgesDrawableBase> getEntities()
IHasEntitiesGets all entities that exist on a drawing. Could be useful for walking through them and check its properties
Value: A set of entity instancesGets entities set from a drawing.using (IfcImage ifcImage = (IfcImage)Image.Load(fileName)) { var entities = ifcImage.Entities }
getEntities in interface IHasEntities<IgesDrawableBase>public final void tryRemoveEntity(IgesDrawableBase entityToRemove)
IHasEntitiesRemoves entity from drawing if present
tryRemoveEntity in interface IHasEntities<IgesDrawableBase>entityToRemove - Entity to removepublic int getHeight()
Gets Image height
getHeight in interface IObjectWithBoundsgetHeight in class Imagepublic int getWidth()
Gets Image width
getWidth in interface IObjectWithBoundsgetWidth in class Imagepublic int getDepth()
Gets Image depth
Value: Image depthpublic boolean isCached()
Gets a value indicating whether object's data is cached currently and no data readig is required.
isCached in class DataStreamSupportertrue if object's data is cached; otherwise, false.public void cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying DataStreamSupporter.DataStreamContainer.
cacheData in class DataStreamSupportercom.aspose.ms.System.NotImplementedExceptionpublic String[] getStrings()
Gets all string values from image.
getStrings in class ImageCopyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.