Web Demos
BARCODE READER SDK DEMO
Explore the flexibe barcode reading settings to optimize for your specific usage scenario.
WEB TWAIN SDK DEMO
Try the most popular web scanner features: scan images, import local images and PDF files, edit, save to local, upload to database, and etc.
You can use the codes below to show the partial pages.
m_PDFRasteizer.ConvertMode = Dynamsoft.PDF.Enums.EnumConvertMode.enumCM_RENDERALL;
m_PDFRasteizer.ConvertToImage(@"<Path of the file>", "", 100, this as IConvertCallback);
public void LoadConvertResult(ConvertResult result)
{
if (result.CurrentPage > 3 && result.CurrentPage < 6) // show the fifth (index 4) and sixth (index 5) pages
{
m_ImageCore.IO.LoadImage(result.Image);
}
}
This KB is for Dynamic .NET TWAIN v7.x and higher only.
There is an API called PageSize
, please set it like following to change the saved PDF size:
m_Creator.PageSize = Dynamsoft.PDF.Enums.EnumPageSize.A5;
latest version