public static void Run()
{
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_ManageBarCodes();
// Instantiate barcode object and Set the SymbologyType and Height and Resolution for barcode
BarCodeBuilder builder = new BarCodeBuilder("(01)90013670000396(3200)15(11)150819",EncodeTypes.DatabarStackedOmniDirectional)
{
xDimension = 0.330f,
BarHeight = 27.77f,
Resolution = new Resolution(1200.0f, 1200.0f, ResolutionMode.Customized)
};
// Save the image to your system and set its image format to Jpeg
builder.Save(dataDir + "Barheight_out.png", BarCodeImageFormat.Png);
}
}