PrApi: SetPageLight

SetPageLight

Sets the number of document pages to capture and the needed lights for each page.

 Public Function SetPageLight(
	  ByVal pages As Long,
	  ByRef Lights As Long ) As Boolean

Parameters

pages
Number of document pages to read.
Lights
Array of light masks where each integer represents a page. The upper 8 bits represent the id of the object window. Each lower bit represents a light mask bit.

Return Values

On error false is returned and the error code and string of the control is set appropriately.

Languages

[Visual Basic] Public Function SetPageLight(ByVal pages As Long, ByRef Lights As Long) As Boolean

[Delphi] function SetPageLight(pages: Integer; var Lights: Integer): Boolean;

[C++] bool SetPageLight(long pages, long* lights);

Remarks

See Also

Class PrApi Overview PrApi Properties PrApi Methods SetIntProperty SetPageLightV