WmfScanObject

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject

public class WmfScanObject extends MetaObject

The Scan Object specifies a collection of scanlines.

Constructors

ConstructorDescription
WmfScanObject()

Methods

MethodDescription
getCount()Gets or sets the count.
setCount(int value)Gets or sets the count.
getTop()Gets or sets the top.
setTop(int value)Gets or sets the top.
getBottom()Gets or sets the bottom.
setBottom(int value)Gets or sets the bottom.
getScanLines()Gets or sets the scan lines.
setScanLines(Point[] value)Gets or sets the scan lines.
getCount2()Gets or sets the count2.
setCount2(int value)Gets or sets the count2.

WmfScanObject()

public WmfScanObject()

getCount()

public int getCount()

Gets or sets the count.

Value: The number of horizontal (x-axis) coordinates in the com.aspose.imaging.fileFormats.wmf.objects.wmfScanObject.ScanLines array. This value MUST be a multiple of 2, since left and right endpoints are required to specify each scanline.

Returns: int

setCount(int value)

public void setCount(int value)

Gets or sets the count.

Value: The number of horizontal (x-axis) coordinates in the com.aspose.imaging.fileFormats.wmf.objects.wmfScanObject.ScanLines array. This value MUST be a multiple of 2, since left and right endpoints are required to specify each scanline.

Parameters:

ParameterTypeDescription
valueint

getTop()

public int getTop()

Gets or sets the top.

Value: The vertical (y-axis) coordinate, in logical units, of the top scanline.

Returns: int

setTop(int value)

public void setTop(int value)

Gets or sets the top.

Value: The vertical (y-axis) coordinate, in logical units, of the top scanline.

Parameters:

ParameterTypeDescription
valueint

getBottom()

public int getBottom()

Gets or sets the bottom.

Value: The vertical (y-axis) coordinate, in logical units, of the bottom scanline.

Returns: int

setBottom(int value)

public void setBottom(int value)

Gets or sets the bottom.

Value: The vertical (y-axis) coordinate, in logical units, of the bottom scanline.

Parameters:

ParameterTypeDescription
valueint

getScanLines()

public Point[] getScanLines()

Gets or sets the scan lines.

Value: An array of scanlines, each specified by left and right horizontal (x-axis) coordinates of its endpoints.

Returns: com.aspose.imaging.Point[]

setScanLines(Point[] value)

public void setScanLines(Point[] value)

Gets or sets the scan lines.

Value: An array of scanlines, each specified by left and right horizontal (x-axis) coordinates of its endpoints.

Parameters:

ParameterTypeDescription
valuePoint[]

getCount2()

public int getCount2()

Gets or sets the count2.

Value: The same as the value of the com.aspose.imaging.fileFormats.wmf.objects.wmfScanObject.Count field; it is present to allow upward travel in the structure.

Returns: int

setCount2(int value)

public void setCount2(int value)

Gets or sets the count2.

Value: The same as the value of the com.aspose.imaging.fileFormats.wmf.objects.wmfScanObject.Count field; it is present to allow upward travel in the structure.

Parameters:

ParameterTypeDescription
valueint