Show / Hide Table of Contents

# Class Separation

Separation contains a memory buffer and CMYK components' information about rasterized separations used in PDFDraw::GetSeparationBitmaps and PDFRasterizer::RasterizeSeparations

##### Inheritance

object
Separation

##### Implements

IDisposable

##### Inherited Members

object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

###### Namespace: pdftron.PDF

###### Assembly: PDFNet.dll

##### Syntax

    public class Separation : IDisposable

##### Remarks

This class is available on all platforms supported by PDFNet.

### Constructors

#### Separation()

default constructor

##### Declaration

    public Separation()

#### Separation(Separation)

##### Declaration

    public Separation(Separation copy)

##### Parameters

Type | Name | Description
--- | --- | ---
Separation | copy |

### Methods

#### C()

Gets Cyan component value in CMYK

##### Declaration

    public byte C()

##### Returns

Type | Description
--- | ---
byte | Cyan's value

#### Dispose()

default destructor

##### Declaration

    public override sealed void Dispose()

#### Dispose(bool)

##### Declaration

    protected virtual void Dispose(bool A_0)

##### Parameters

Type | Name | Description
--- | --- | ---
bool | A_0 |

#### GetData()

Gets data buffer

##### Declaration

    public byte[] GetData()

##### Returns

Type | Description
--- | ---
byte[] | Data buffer array

#### GetDataSize()

Gets data size of the buffer

##### Declaration

    public uint GetDataSize()

##### Returns

Type | Description
--- | ---
uint | Data size

#### GetSeparationName()

Gets separation's name

##### Declaration

    public string GetSeparationName()

##### Returns

Type | Description
--- | ---
string | String containing separation's name

#### K()

Gets Black component value in CMYK

##### Declaration

    public byte K()

##### Returns

Type | Description
--- | ---
byte | Black's value

#### M()

Gets Magenta component value in CMYK

##### Declaration

    public byte M()

##### Returns

Type | Description
--- | ---
byte | Magenta's value

#### Y()

Gets Yellow component value in CMYK

##### Declaration

    public byte Y()

##### Returns

Type | Description
--- | ---
byte | Yellow's value

#### op_Assign(Separation)

##### Declaration

    public Separation op_Assign(Separation copy)

##### Parameters

Type | Name | Description
--- | --- | ---
Separation | copy |

##### Returns

Type | Description
--- | ---
Separation |

### Implements

IDisposable