[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DataBox

Struct DataBox

Namespace
GrapeCity.Documents.DX
Assembly
GcDocs.DX.Windows.dll

Provides access to data organized in 3D.

public struct DataBox
Inherited Members
System.ValueType.Equals(object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()

Constructors

DataBox(IntPtr, int, int)

Initializes a new instance of the DataBox struct.

public DataBox(IntPtr datapointer, int rowPitch, int slicePitch)

Parameters

datapointer System.IntPtr

The datapointer.

rowPitch int

The row pitch.

slicePitch int

The slice pitch.

DataBox(IntPtr)

Initializes a new instance of the DataBox struct.

public DataBox(IntPtr dataPointer)

Parameters

dataPointer System.IntPtr

The data pointer.

Fields

DataPointer

Pointer to the data.

public IntPtr DataPointer

Field Value

System.IntPtr

RowPitch

Gets the number of bytes per row.

public int RowPitch

Field Value

int

SlicePitch

Gets the number of bytes per slice (for a 3D texture, a slice is a 2D image)

public int SlicePitch

Field Value

int

Properties

IsEmpty

Gets a value indicating whether this instance is empty.

public bool IsEmpty { get; }

Property Value

bool

true if this instance is empty; otherwise, false.