public class StpImage extends Image
STP image class.
Constructor and Description |
---|
StpImage() |
Modifier and Type | Method and Description |
---|---|
void |
cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying
P:Aspose.CAD.DataStreamSupporter.DataStreamContainer . |
String |
getAuthor() |
String |
getAuthorization() |
String |
getDescription() |
int |
getHeight()
Gets the image height.
|
String |
getImplementationLevel() |
List<StepRepresentationItem> |
getItems() |
String |
getName() |
String |
getOrganization() |
String |
getOriginatingSystem() |
String |
getPreprocessorVersion() |
Set<Integer> |
getSchemas() |
Date |
getTimestamp() |
com.aspose.ms.System.Collections.Generic.IGenericCollection<StepRepresentationItem> |
getTopLevelItems()
Gets all top-level items (i.e., not referenced by any other item) in the file.
|
List<String> |
getUnsupportedSchemas() |
int |
getWidth()
Gets the image width.
|
boolean |
isCached()
The image facet objects.
|
static StpImage |
loader(InputStream stream) |
void |
setAuthor(String value) |
void |
setAuthorization(String value) |
void |
setDescription(String value) |
void |
setImplementationLevel(String value) |
void |
setName(String value) |
void |
setOrganization(String value) |
void |
setOriginatingSystem(String value) |
void |
setPreprocessorVersion(String value) |
void |
setTimestamp(Date value) |
canLoad, canLoad, canLoad, canLoad, canSave, getBackgroundColor, getBounds, getContainer, getFileFormat, getFileFormat, getPalette, getSize, getStrings, getUnitlessDefaultUnitType, getUnitType, hasBackgroundColor, load, load, load, load, save, save, save, setBackgroundColor, setBackgroundColor, setPalette
public final String getDescription()
public final void setDescription(String value)
public final String getImplementationLevel()
public final void setImplementationLevel(String value)
public final String getName()
public final void setName(String value)
public final Date getTimestamp()
public final void setTimestamp(Date value)
public final String getAuthor()
public final void setAuthor(String value)
public final String getOrganization()
public final void setOrganization(String value)
public final String getPreprocessorVersion()
public final void setPreprocessorVersion(String value)
public final String getOriginatingSystem()
public final void setOriginatingSystem(String value)
public final String getAuthorization()
public final void setAuthorization(String value)
public final List<StepRepresentationItem> getItems()
public static StpImage loader(InputStream stream)
public final com.aspose.ms.System.Collections.Generic.IGenericCollection<StepRepresentationItem> getTopLevelItems()
Gets all top-level items (i.e., not referenced by any other item) in the file.
public boolean isCached()
The image facet objects.
Gets a value indicating whether object's data is cached currently and no data reading is required.
Value:true
if object's data is cached; otherwise, false
.isCached
in class com.aspose.cad.DataStreamSupporter
public void cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying P:Aspose.CAD.DataStreamSupporter.DataStreamContainer
.
cacheData
in class com.aspose.cad.DataStreamSupporter
public int getWidth()
Gets the image width.
Value: The image width.Prints drawing's widthImage drawing = ... System.Console.WriteLine("Drawing's width: " + drawing.Width);
getWidth
in interface IObjectWithBounds
getWidth
in class Image
public int getHeight()
Gets the image height.
Value: The image height.Prints drawing's heightImage drawing = ... System.Console.WriteLine("Drawing's height: " + drawing.Height);
getHeight
in interface IObjectWithBounds
getHeight
in class Image