RpReport:SetPaperBin() Method
<< Click to Display Table of Contents >> RpReport:SetPaperBin() Method |
![]() ![]() ![]() |
Purpose
This method allows you to specify the paper bin setting for any section of a report.
Syntax
<oReport>:SetPaperBin(nValue, [nSection]) nValue
Arguments
lValue | The new paper bin constant to use. For more information, see PtrDevice:DefaultPaperSource. |
nSection | Optional section number. The default is the first section after the optional title section. |
Description
The paper bin (default paper source) setting for a report section must be set in the section to be changed. Use this method instead of setting the value on the printer device directly which will not work.
Example
// Print section 2 from the upper paper bin
oReport:SetPaperBin(DMBIN_UPPER, 2)