View Single Post
  #3  
Old January 29th, 2016, 09:35 AM
Landisa's Avatar
Landisa Landisa is offline
Junior Community Member
 
Join Date: Jun 2014
Location: United States
Posts: 31
Default Re: Page Number & Rules

Step your code helped me figure out my mistake!
Looks like I just needed to set my code to re-evaluate for every text flow so that it would actually call the page number rather than always using page 1 as the result.

Could this theory be applied to a set of OMR marks (essentially a table with borders that change from 3-fin marks on page 1 and 2-fin marks on pages 2-N)?

I am using this code to apply the marks:
Code:
 //Create 3-Fin OMR Mark using tables and borders
new FPTable;
var OMR = new FPTable;
OMR.AddColumns(7200);
OMR.AddRows(3);
 OMR.Rows[0].minHeight = 1800; //specified in hundredths of a point
OMR.Rows[0].Cells[0].SetBorders("Medium", "Black", "Top");
OMR.Rows[0].Cells[0].Content = "";
 OMR.Rows[1].minHeight = 1800; //specified in hundredths of a point
OMR.Rows[1].Cells[0].SetBorders("Medium", "Black", "Top");
OMR.Rows[1].Cells[0].Content = "";
 OMR.Rows[2].minHeight = 1800; //specified in hundredths of a point
OMR.Rows[2].Cells[0].SetBorders("Medium", "Black", "Top");
OMR.Rows[2].Cells[0].Content = "";
 return OMR.MakeTags();
__________________
Audra Landis
Computer Systems Admin

VDP Producer v10.0.3
Windows 7 / Windows 10
Acrobat Pro DC (2015.010.20056)

Last edited by Landisa; January 29th, 2016 at 09:43 AM..
Reply With Quote