Aspose::Cells::Slicers::Slicer::SetTopPixel method

Slicer::SetTopPixel method

Returns or sets the vertical offset of slicer shape from its top row, in pixels.

void Aspose::Cells::Slicers::Slicer::SetTopPixel(int32_t value)

Examples

if (slicer.GetTopPixel() != 6)
{
    slicer.SetTopPixel(6);
}

See Also