Count Of Labels Per Page Follow

0
Avatar
Legacy Poster

Hi, what's the best way to go about getting the number of labels printed per page with the .NET SDK (C#)? Is this something available in the object model or does it need to be calculated? Thanks in advance,

Brad

1 comments

0
Avatar
Legacy Poster
Comment actions Permalink

Ok never mind I just figured it out - there's rows and columns properties on pagesetup object:

 

 

            int rows = btFormat.PageSetup.LabelRows;
            int cols = btFormat.PageSetup.LabelColumns;
            int total = rows * cols;

Please sign in to leave a comment.