ResolutionSetting

Inheritance: java.lang.Object

public class ResolutionSetting

The resolution setting for image save options.

Constructors

ConstructorDescription
ResolutionSetting()Initializes a new instance of the ResolutionSetting class.
ResolutionSetting(double horizontalResolution, double verticalResolution)Initializes a new instance of the ResolutionSetting class.

Methods

MethodDescription
adjustSizeToDefaultDPI_internalized(SizeF size, ResolutionSetting originalResolution, ResolutionSetting newResolution)Defines PDF page size in dependency of DPI resolution taken from PdfOptions.ResolutionSettings or if it has default values; from the image itself
equals(Object arg0)
getClass()
getHorizontalResolution()Gets or sets the horizontal resolution.
getVerticalResolution()Gets or sets the vertical resolution.
hashCode()
notify()
notifyAll()
setHorizontalResolution(double value)Gets or sets the horizontal resolution.
setVerticalResolution(double value)Gets or sets the vertical resolution.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ResolutionSetting()

public ResolutionSetting()

Initializes a new instance of the ResolutionSetting class.

ResolutionSetting(double horizontalResolution, double verticalResolution)

public ResolutionSetting(double horizontalResolution, double verticalResolution)

Initializes a new instance of the ResolutionSetting class.

Parameters:

ParameterTypeDescription
horizontalResolutiondoubleThe horizontal resolution.
verticalResolutiondoubleThe vertical resolution.

adjustSizeToDefaultDPI_internalized(SizeF size, ResolutionSetting originalResolution, ResolutionSetting newResolution)

public static SizeF adjustSizeToDefaultDPI_internalized(SizeF size, ResolutionSetting originalResolution, ResolutionSetting newResolution)

Defines PDF page size in dependency of DPI resolution taken from PdfOptions.ResolutionSettings or if it has default values; from the image itself

Parameters:

ParameterTypeDescription
sizeSizeFThe image size.
originalResolutionResolutionSettingThe original resolution.
newResolutionResolutionSettingThe new resolution.

Returns: SizeF

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

getHorizontalResolution()

public double getHorizontalResolution()

Gets or sets the horizontal resolution.

Returns: double

getVerticalResolution()

public double getVerticalResolution()

Gets or sets the vertical resolution.

Returns: double

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setHorizontalResolution(double value)

public void setHorizontalResolution(double value)

Gets or sets the horizontal resolution.

Parameters:

ParameterTypeDescription
valuedouble

setVerticalResolution(double value)

public void setVerticalResolution(double value)

Gets or sets the vertical resolution.

Parameters:

ParameterTypeDescription
valuedouble

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int