public static void RenderCellToImage(string dataDir, Document doc)
{
//ExStart
//ExId:RenderCellToImage
//ExSummary:Shows how to render a cell of a table independent of the document.
Cell cell = (Cell)doc.GetChild(NodeType.Cell, 2, true); // The third cell in the first table.
RenderNode(cell, dataDir + "TestFile.RenderCell Out.png", null);
//ExEnd
}