Packages

 

com.aspose.cad.fileformats.stp

Class StpImage

    • Constructor Detail

      • StpImage

        public StpImage()
    • Method Detail

      • getDescription

        public final String getDescription()
      • setDescription

        public final void setDescription(String value)
      • getImplementationLevel

        public final String getImplementationLevel()
      • setImplementationLevel

        public final void setImplementationLevel(String value)
      • getName

        public final String getName()
      • setName

        public final void setName(String value)
      • getTimestamp

        public final Date getTimestamp()
      • setTimestamp

        public final void setTimestamp(Date value)
      • getAuthor

        public final String getAuthor()
      • setAuthor

        public final void setAuthor(String value)
      • getOrganization

        public final String getOrganization()
      • setOrganization

        public final void setOrganization(String value)
      • getPreprocessorVersion

        public final String getPreprocessorVersion()
      • setPreprocessorVersion

        public final void setPreprocessorVersion(String value)
      • getOriginatingSystem

        public final String getOriginatingSystem()
      • setOriginatingSystem

        public final void setOriginatingSystem(String value)
      • getAuthorization

        public final String getAuthorization()
      • setAuthorization

        public final void setAuthorization(String value)
      • getSchemas

        public final Set<Integer> getSchemas()
      • getUnsupportedSchemas

        public final List<String> getUnsupportedSchemas()
      • getTopLevelItems

        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.

      • isCached

        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.
        Specified by:
        isCached in class com.aspose.cad.DataStreamSupporter
      • cacheData

        public void cacheData()

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

        Specified by:
        cacheData in class com.aspose.cad.DataStreamSupporter
      • getWidth

        public int getWidth()

        Gets the image width.


         Prints drawing's width
         
         Image drawing = ...
         System.Console.WriteLine("Drawing's width: " + drawing.Width);
         
        Value: The image width.
        Specified by:
        getWidth in interface IObjectWithBounds
        Specified by:
        getWidth in class Image
        Returns:
        The image width.
      • getHeight

        public int getHeight()

        Gets the image height.


         Prints drawing's height
         
         Image drawing = ...
         System.Console.WriteLine("Drawing's height: " + drawing.Height);
         
        Value: The image height.
        Specified by:
        getHeight in interface IObjectWithBounds
        Specified by:
        getHeight in class Image
        Returns:
        The image height.