ProScript .NET Documentation
ProScript .NET Documentation
ProScript
DisplayChunk Class
DisplayChunk Constructor
DisplayChunk Methods

# DisplayChunk Constructor

Initializes a new instance of the DisplayChunk class.

Namespace: ProScript
Assembly: proscript-csharp (in proscript-csharp.dll) Version: 1.6.39.0 (1.6.39.0)
Syntax
C#
VB
C++
F#
Copy

    public DisplayChunk(
    	ushort x,
    	ushort y,
    	ushort width,
    	ushort height,
    	byte bitsPerPixel,
    	byte[] raster
    )

    Public Sub New (
    	x As UShort,
    	y As UShort,
    	width As UShort,
    	height As UShort,
    	bitsPerPixel As Byte,
    	raster As Byte()
    )

    public:
    DisplayChunk(
    	unsigned short x,
    	unsigned short y,
    	unsigned short width,
    	unsigned short height,
    	unsigned char bitsPerPixel,
    	array<unsigned char>^ raster
    )

    new :
            x : uint16 *
            y : uint16 *
            width : uint16 *
            height : uint16 *
            bitsPerPixel : byte *
            raster : byte[] -> DisplayChunk

#### Parameters

x
  Type: System
  UInt16
  The horizontal location of the top left of the image in pixels.
y
  Type: System
  UInt16
  The vertical location of the top left of the image in pixels.
width
  Type: System
  UInt16
  he width of the image in pixels.
height
  Type: System
  UInt16
  The height of the image in pixels.
bitsPerPixel
  Type: System
  Byte
  The number of bits per pixel the raster is encoded with.
raster
  Type:
  System
  Byte
  The raw raster to be transferred.

See Also

#### Reference

DisplayChunk Class
ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.