接口 IGraphic


public interface IGraphic
Represents the picture field included in the specified header or footer.
  • 方法概要

    修饰符和类型
    方法
    说明
    Returns the path to the location where the specified source object was saved.
    double
    Returns a Single value that represents the height, in points, of the object.
    boolean
    True if the specified shape retains its original proportions when you resize it.
    double
    Returns a Single value that represents the width, in points, of the object.
    void
    Sets the path to the location where the specified source object was saved.
    void
    Sets the InputStream to the location where the specified source object wassaved.
    void
    setHeight(double value)
    Sets a Single value that represents the height, in points, of the object.
    void
    setLockAspectRatio(boolean value)
    True if the specified shape retains its original proportions when you resize it.
    void
    setWidth(double value)
    Sets a Single value that represents the width, in points, of the object.
  • 方法详细资料

    • getFilename

      String getFilename()
      Returns the path to the location where the specified source object was saved.
    • setFilename

      void setFilename(String value) throws FileNotFoundException
      Sets the path to the location where the specified source object was saved.
      抛出:
      FileNotFoundException
    • setGraphicStream

      void setGraphicStream(InputStream stream, ImageType imageType)
      Sets the InputStream to the location where the specified source object wassaved.
    • getHeight

      double getHeight()
      Returns a Single value that represents the height, in points, of the object.
    • setHeight

      void setHeight(double value)
      Sets a Single value that represents the height, in points, of the object.
    • getWidth

      double getWidth()
      Returns a Single value that represents the width, in points, of the object.
    • setWidth

      void setWidth(double value)
      Sets a Single value that represents the width, in points, of the object.
    • getLockAspectRatio

      boolean getLockAspectRatio()
      True if the specified shape retains its original proportions when you resize it. False if you can change the height and width of the shape independently of one another when you resize it.
    • setLockAspectRatio

      void setLockAspectRatio(boolean value)
      True if the specified shape retains its original proportions when you resize it. False if you can change the height and width of the shape independently of one another when you resize it.