VP Get print info
VP Get print info ( vpAreaName : Text { ; sheet : Integer } ) : Object
Paramètres | Type | Description | ||
---|---|---|---|---|
vpAreaName | Text | -> | Nom d'objet formulaire zone 4D View Pro | |
sheet | Integer | -> | Numéro d'indice de la feuille (feuille courante si omis) | |
Résultat | Object | <- | Objet contenant les informations d'impression |
Description
The VP Get print info
command returns an object containing the print attributes of the vpAreaName.
Pass the the name of the 4D View Pro area in vpAreaName. Si vous passez un nom inexistant, une erreur est retournée.
In the optional sheet parameter, you can designate a specific spreadsheet (counting begins at 0) whose printing attributes you want returned. If omitted or if you pass vk current sheet
, the current spreadsheet is used.
Exemple
Le code suivant :
$pinfo:=VP Get print info("ViewProArea")
... returns the print attributes of the 4D View Pro area set in the VP SET PRINT INFO command:
{
bestFitColumns:false,
bestFitRows:false,
blackAndWhite:false,
centering:0,
columnEnd:8,
columnStart:0,
firstPageNumber:1,
fitPagesTall:1,
fitPagesWide:1,
footerCenter:"&BS.H.I.E.L.D. &A Sales Per Region",
footerCenterImage:,
footerLeft:,
footerLeftImage:,
footerRight:"page &P of &N",
footerRightImage:,
headerCenter:,
headerCenterImage:,
headerLeft:"&G",
headerLeftImage:logo.png,
headerRight:,
headerRightImage:,
margin:{top:75,bottom:75,left:70,right:70,header:30,footer:30},
orientation:2,
pageOrder:0,
pageRange:,
paperSize:{width:850,height:1100,kind:1},
qualityFactor:2,
repeatColumnEnd:-1,
repeatColumnStart:-1,
repeatRowEnd:-1,
repeatRowStart:-1,
rowEnd:24,
rowStart:0,
showBorder:false,
showColumnHeader:0,
showGridLine:false,
showRowHeader:0,
useMax:true,
watermark:[],
zoomFactor:1
}