ResolutionSetting
Contents
[
Hide
]Inheritance: java.lang.Object
public class ResolutionSetting
The resolution setting for image save options.
Constructors
| Constructor | Description |
|---|---|
| ResolutionSetting() | Initializes a new instance of the ResolutionSetting class. |
| ResolutionSetting(double horizontalResolution, double verticalResolution) | Initializes a new instance of the ResolutionSetting class. |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| horizontalResolution | double | The horizontal resolution. |
| verticalResolution | double | The 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:
| Parameter | Type | Description |
|---|---|---|
| size | SizeF | The image size. |
| originalResolution | ResolutionSetting | The original resolution. |
| newResolution | ResolutionSetting | The new resolution. |
Returns: SizeF
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.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:
| Parameter | Type | Description |
|---|---|---|
| value | double |
setVerticalResolution(double value)
public void setVerticalResolution(double value)
Gets or sets the vertical resolution.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |