public static void Run()
{
// ExStart:SetWideNarrowRatio
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_ManageBarCodes();
// Set the symbology and code text and X dimension reduction property of barcode and save barcode Image
BarCodeBuilder barCodeBuilder = new BarCodeBuilder("blackReduction", EncodeTypes.Code128)
{
xDimension = 1.2f,
BarWidthReduction = 0.2f
};
barCodeBuilder.Save(dataDir + "SetWideNarrowRatio_out.png");
// ExEnd:SetWideNarrowRatio
}
}