GetPaperName

 

Retrieves the name of a paper size specified by its paper code.

 

GetPaperName(pDevMode As Long, dwPaperCode As Integer) As String

 

Input value pDevMode:

Pointer to the BlackIceDEVMODE structure of the printer.

 

Input value dwPaperCode:

The paper code of the paper.

 

Return value:

The name of the paper size.

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.