LowCodeImageSaveOptions

Inheritance: java.lang.Object, com.aspose.cells.LowCodeSaveOptions

public class LowCodeImageSaveOptions extends LowCodeSaveOptions

Options for saving image in low code way.

Constructors

ConstructorDescription
LowCodeImageSaveOptions()

Methods

MethodDescription
equals(Object arg0)
getClass()
getImageOptions()The options for rendering images.
getOutputFile()Gets the file(with path if needed) for saving the generated data.
getOutputStream()Gets the Stream for writing the generated data to.
getSaveFormat()Gets the save format.
getSaveOptionsProvider()Provider of save options for saving generated images.
hashCode()
notify()
notifyAll()
setImageOptions(ImageOrPrintOptions value)The options for rendering images.
setOutputFile(String value)Sets the file(with path if needed) for saving the generated data.
setOutputStream(InputStream value)Sets the Stream for writing the generated data to.
setSaveFormat(int value)Sets the save format.
setSaveOptionsProvider(AbstractLowCodeSaveOptionsProvider value)Provider of save options for saving generated images.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

LowCodeImageSaveOptions()

public LowCodeImageSaveOptions()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getImageOptions()

public ImageOrPrintOptions getImageOptions()

The options for rendering images.

Remarks

When one ImageOrPrintOptions instance is specified, the SaveFormat will be overwritten(if it had been specified before).

Returns: ImageOrPrintOptions

getOutputFile()

public String getOutputFile()

Gets the file(with path if needed) for saving the generated data. When setting this property with value other than null or empty string, getOutputStream() will be ignored.

Returns: java.lang.String

getOutputStream()

public InputStream getOutputStream()

Gets the Stream for writing the generated data to. When setting this property with value other than null, getOutputFile() will be ignored.

Returns: java.io.InputStream

getSaveFormat()

public int getSaveFormat()

Gets the save format.

See SaveFormat.

Remarks

If getImageOptions() has been specified, setting this property will also change the ImageOrPrintOptions.getImageType() value of it.

Returns: int

getSaveOptionsProvider()

public AbstractLowCodeSaveOptionsProvider getSaveOptionsProvider()

Provider of save options for saving generated images.

Remarks

The output(LowCodeSaveOptions.getOutputFile() or LowCodeSaveOptions.getOutputStream()) specified by this instance will take no effect when this property is specified. Instead the output of every generated image will be specified by the provider.

Returns: AbstractLowCodeSaveOptionsProvider

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setImageOptions(ImageOrPrintOptions value)

public void setImageOptions(ImageOrPrintOptions value)

The options for rendering images.

Remarks

When one ImageOrPrintOptions instance is specified, the SaveFormat will be overwritten(if it had been specified before).

Parameters:

ParameterTypeDescription
valueImageOrPrintOptions

setOutputFile(String value)

public void setOutputFile(String value)

Sets the file(with path if needed) for saving the generated data. When setting this property with value other than null or empty string, getOutputStream() will be ignored.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setOutputStream(InputStream value)

public void setOutputStream(InputStream value)

Sets the Stream for writing the generated data to. When setting this property with value other than null, getOutputFile() will be ignored.

Parameters:

ParameterTypeDescription
valuejava.io.InputStream

setSaveFormat(int value)

public void setSaveFormat(int value)

Sets the save format.

See SaveFormat.

Remarks

If getImageOptions() has been specified, setting this property will also change the ImageOrPrintOptions.getImageType() value of it.

Parameters:

ParameterTypeDescription
valueint

setSaveOptionsProvider(AbstractLowCodeSaveOptionsProvider value)

public void setSaveOptionsProvider(AbstractLowCodeSaveOptionsProvider value)

Provider of save options for saving generated images.

Remarks

The output(LowCodeSaveOptions.getOutputFile() or LowCodeSaveOptions.getOutputStream()) specified by this instance will take no effect when this property is specified. Instead the output of every generated image will be specified by the provider.

Parameters:

ParameterTypeDescription
valueAbstractLowCodeSaveOptionsProvider

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int