PageScalingOffsetWidth

Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicketElement, com.aspose.xps.metadata.ParameterInit, com.aspose.xps.metadata.IntegerParameterInit

All Implemented Interfaces: com.aspose.xps.metadata.IJobPrintTicketItem, com.aspose.xps.metadata.IDocumentPrintTicketItem, com.aspose.xps.metadata.IPagePrintTicketItem

public final class PageScalingOffsetWidth extends IntegerParameterInit implements IJobPrintTicketItem, IDocumentPrintTicketItem, IPagePrintTicketItem

Specifies the scaling offset in the ImageableSizeWidth direction for custom scaling. https://docs.microsoft.com/en-us/windows/win32/printdocs/pagescalingoffsetwidth

Constructors

ConstructorDescription
PageScalingOffsetWidth(int value)Creates a new instance.

Methods

MethodDescription
equals(Object arg0)
getClass()
getMaxValue()For integer- or decimal-valued parameters, defines the largest allowed value.
getMinValue()For integer- or decimal-valued parameters, defines the smallest allowed value.
getMultiple()For integer- or decimal-valued parameters, the value of the parameter should be a multiple of this number.
getName()Gets the element name.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

PageScalingOffsetWidth(int value)

public PageScalingOffsetWidth(int value)

Creates a new instance.

Parameters:

ParameterTypeDescription
valueintThe parameter value.

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

getMaxValue()

public int getMaxValue()

For integer- or decimal-valued parameters, defines the largest allowed value.

Returns: int - The largest allowed value.

getMinValue()

public int getMinValue()

For integer- or decimal-valued parameters, defines the smallest allowed value.

Returns: int - The smallest allowed value.

getMultiple()

public int getMultiple()

For integer- or decimal-valued parameters, the value of the parameter should be a multiple of this number.

Returns: int - The number of which the parameter should be a multiple.

getName()

public String getName()

Gets the element name.

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

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