Closed sheneeb closed 1 year ago
See the Migration to 0.1.6 guide:
In summary methods such as
GetWords
andGetBlocks
taking options arguments have changed to take the options in the class constructor.
You can try creating an instance and providing it the options instead of using a shared one:
var boxes = new DocstrumBoundingBoxes(new DocstrumBoundingBoxes.DocstrumBoundingBoxesOptions()
{
WithinLineBounds = new DocstrumBoundingBoxes.AngleBounds(-45, 45),
BetweenLineBounds = new DocstrumBoundingBoxes.AngleBounds(35, 170),
BetweenLineMultiplier = 1.5
});
boxes.GetBlocks(words);
P.S. - created a pdfpig
tag on SO if anybody in the community would be interested.
Thanks , The documentation needs to be updated to reflect this and i think that will happen when the release is final
Documentation now updated, thanks for pointing that out