Skip navigation links
oracle.imaging
Class RenderResult
java.lang.Object
oracle.imaging.RenderOptions
oracle.imaging.RenderResult
-
public class RenderResult
- extends RenderOptions
Class to contain the results of a rendering operation. Returns how the rendering was performed, i.e. returns format in case unsupported format correction was made, number of pages, etc.
Methods inherited from class oracle.imaging.RenderOptions |
getBoundRect, getFitMode, getFormat, getPageNumber, getRotation, getScaleFactor, getWithAnnotations, setBoundRect, setBoundRect, setFitMode, setFormat, setFormat, setPageNumber, setRotation, setScaleFactor, setWithAnnotations |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenderResult
public RenderResult()
setPages
public void setPages(RenderPage[] newpages)
-
- Parameters:
newpages
- Sets all of the pages for this rendering operation
getPages
public RenderPage[] getPages()
-
- Returns:
- Gets all of the pages for this rendering operation
setMimeType
public void setMimeType(java.lang.String mimeType)
- Updates the current mime-type for the document state during a render request. Setting this field also updates the RenderOptions.Format field accordingly.
-
- Parameters:
mimeType
- Sets the output mime type for this rendering operation
getMimeType
public java.lang.String getMimeType()
-
- Returns:
- Gets the output mime type for this rendering operation
setFilename
public void setFilename(java.lang.String filename)
-
- Parameters:
filename
- Set the filename for this rendering operation
getFilename
public java.lang.String getFilename()
-
- Returns:
- Gets the filename for this rendering operation
setOriginalFilename
public void setOriginalFilename(java.lang.String filename)
-
- Parameters:
filename
- Set the original filename for this rendering operation
getOriginalFilename
public java.lang.String getOriginalFilename()
-
- Returns:
- Gets the original filename for this rendering operation
setDocPageCount
public void setDocPageCount(int newdocPageCount)
-
- Parameters:
newdocPageCount
- Set the total page count for the current document
getDocPageCount
public int getDocPageCount()
-
- Returns:
- Gets the total page count for the current document
setTotalPageCount
public void setTotalPageCount(int value)
throws ImagingException
- Sets the totalPageCount property. Default totalPageCount is 0.
-
- Parameters:
value
- The new totalPageCount property value.
- Throws:
ImagingException
getTotalPageCount
public int getTotalPageCount()
- Gets the totalPageCount property.
Skip navigation links
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.