public static RenderRowToImage ( string dataDir, Document doc ) : void | ||
dataDir | string | |
doc | Document | |
return | void |
public static void RenderRowToImage(string dataDir, Document doc)
{
// ExStart:RenderRowToImage
Row row = (Row)doc.GetChild(NodeType.Row, 0, true); // The first row in the first table.
dataDir = dataDir + "TestFile.RenderRow_out.png";
RenderNode(row, dataDir, null);
// ExEnd:RenderRowToImage
Console.WriteLine("\nRow rendered to image successfully.\nFile saved at " + dataDir);
}