你好
我有一個帶有幾個標籤頁框的儀表板。我有一個用於創建所有儀表板頁面的pdf的按鈕。
是否可以將pdf按鈕配置為僅在pdf中創建第一頁或僅在pdf中創建第一標籤頁框?
最好的祝福
您可以搜索“保存PDF”消息並將其發送到第一個選項卡面板框,如下所示:
names default to here(1);
dt = open("$Sample_data/big class.jmp");
win = new window("pdf example",
bbSave = button Box("Save to PDF",
(win << XPath("//TabPageBox"))[1] << Save PDF( "$TEMP/report tab 1.pdf" );
Open("$TEMP");
),
tb = Tab Box(
"One", Graph Builder(
Variables( X( :height ), Y( :weight ) ),
Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) ) ),
"Two", Graph Builder(
Variables( X( :age ), Y( :weight ) ),
Elements( Points( X, Y, Legend( 13 ) ) ) )
)
);<BR /><BR />Open("$TEMP");