Hum…c’est étrange, le lien marche pour moi…
Question de droit d’acces peut-être (je ne maitrise pas tout !)
C’était là :
My Home > R-release channel > Beta version > Write Pro alternative for WR Build preview
Bon, pas grave, je copie-colle
As you mention, there is no WP build preview (yet) but we my consider adding this command.
To do so, we need to know as precisely as possible what is your goal, what do you “do” with pictures generated, etc. (are they displayed in list, sent by email, etc. So many options there !)
By the way, i can give you two (durty) work arround if this may help waiting for a native command.
I insist, this should not be used as a final answer (or my boss may kill me
#1 : Works on both platforms : create a dialog with a single WP area in it (nothing else). Give your dialog the right size and give the same size to the WP Area (no margins in the form).
Set the WP area inside the form the settings you need for preview (page mode, zoom, headers, etc.) and give the area a variable name (i.e. wpScreenShot)
Call the dialog this way:
$win:=Open form window(“ScreenShot”;Plain form window;10000;10000) // you don’t need to see it !
and inside the dialog, do a screenshot of the current form
: (Form event=On Load)
: (Form event=On Timer)
The picture “vPreview” will contain the visible part of your document (only one page or two, according to zoom, etc.)
#1 : Works on macOS only :
SET CURRENT PRINTER(Generic PDF driver)
$path:=Get 4D folder(Data folder)+“test.pdf”
SET PRINT OPTION(Destination option;3;$path)
READ PICTURE FILE($path;vPreview)
Again (again) this is a temporary work arround until we can provide a better solution. Please do not forget to answer and tell us the way you used “WR Build preview” and why it is (still) a real need for you today.