Use new PromsPrinter Method (NewPage) to set the page size properly before outputing the page Break.
Added a New Object (ReaderHelper) which provides the necessary support to allow MSWord documents to use various page sizes. MSWord has a limit of 22 inches for the largest width or height. Use new PromsPrinter Method (NewPage) to set the page size properly before outputing the page break. Use new PromsPrinter Method (NewPage) to set the page size properly before outputing the page break. Updated vlnParagraph constructors to use parameter MyPromsPrinter since it is used to create page breaks.
This commit is contained in:
@@ -591,7 +591,7 @@ namespace Volian.Print.Library
|
||||
}
|
||||
private void ForcePagination(PdfContentByte cb, ref float yPageStart, float yTopMargin, float yBottomMargin, ref float yLocation, ref float retval)
|
||||
{
|
||||
cb.PdfDocument.NewPage(); // pagination issue
|
||||
MyPromsPrinter.NewPage();
|
||||
DebugText.WriteLine("*****PaginateError");
|
||||
yPageStart = yTopMargin + YVeryTop;
|
||||
yLocation = yPageStart - YOffset;
|
||||
@@ -999,7 +999,7 @@ namespace Volian.Print.Library
|
||||
// `88b ooo 888 888 888 888 888 888 888 888 888 .o o. )88b o. )88b 888 d8( 888 888 888 .
|
||||
// `Y8bood8P' `Y8bod8P' o888o o888o o888o 888bod8P' d888b `Y8bod8P' 8""888P' 8""888P' o888o `Y888""8o d888b "888"
|
||||
// 888
|
||||
// o888o
|
||||
// o888o
|
||||
//
|
||||
// | Step over a Number of Pages |
|
||||
// | First Page | Second Page | Third Page |
|
||||
|
Reference in New Issue
Block a user