cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Access system drawing parameters by Visual Basic.net

Highlighted
Participant

Access system drawing parameters by Visual Basic.net

I try to load the amount of sheets and sheet size by the following programming lines:

            parameter(14) = drw.GetParam("total_sheets")

            pvalue(14) = parameter(14).GetScaledValue

            CB_AOP.Text = pvalue(14).IntValue.ToString

Only it doesn't work and gives me the NullExeption warning. With custom parameters it just works.

Please, could you help?

2 REPLIES 2
Highlighted

Re: Access system drawing parameters by Visual Basic.net

The problem is that 'total_sheets' is not a drawing parameter.  It is a thing you call out in a manner similar to calling out a parameter, so you get at it with a different mechanism than you use for parameters. I unfortunately don't know the VB API, in Toolkit the function you'd want is ProDrawingSheetsCount.

Highlighted

Re: Access system drawing parameters by Visual Basic.net

In VB API you will look for  IpfcSheetOwner::NumberOfSheets

Announcements