HListBox には、子ボックスの水平方向の配置を調整するオプションのパラメーターがあります。試す
logo = open("company_logo.png", png);
logo << set size({93, 48});
H List Box(
Align("Bottom"),
Picture Box(logo),
Text Box( "Company Name " )
)このようなものが欲しい場合
A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.表示ツリーの右側にある JMP レポート。 左側は 2 つの項目の垂直スタックです。
このようなものを使用できます
dt = Open( "$sample_data/big class.jmp" );
the_report = V List Box( // use vlist for capturing, not displaying
dt << Bivariate( Y( :weight ), X( :height ), Fit Line )
);
logo = Icon Box( "JMPLogo" ) << getpicture; // 262 wide by 152 tall
logo << set size( {93, 48} );
New Window( "test the logo",
Border Box( Left( 10 ), top( 10 ),
H List Box(
V List Box(
Picture Box( logo ),
Text Box( "Company Name " )
),
Border Box( Left( 5 ), the_report )
)
)
);
レポートをキャプチャするために vlistbox を使用すると、まれに他のほとんどのボックスよりもうまく機能します。 レポートは、それが vlist 内で作成されていることを認識し、独自のウィンドウを開きません。 ロゴボイラープレートの内側に left(5) で少しスペースを追加し、left(10), top(10) でロゴを端から離しました。
ウィンドウを画面に表示して手動で画像をキャプチャする必要はありません。 これを使用できます:
dt = Open( "$sample_data/big class.jmp" );
the_report = V List Box( // use vlist for capturing, not displaying
dt << Bivariate( Y( :weight ), X( :height ), Fit Line )
);
logo = Icon Box( "JMPLogo" ) << getpicture; // 262 wide by 152 tall
logo << set size( {93, 48} );
logoreport =
Border Box( Left( 10 ), top( 10 ),
H List Box(
V List Box(
Picture Box( logo ),
Text Box( "Company Name " )
),
Border Box( Left( 5 ), the_report )
)
);
logoreport<<SAVEPICTURE></SAVEPICTURE>
取得するため
Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.Saved without opening a window.ウィンドウを開かずに保存しました。
返信していただきありがとうございます。 Picture Box 内に Icon Box を配置することについて考えたことはありません。
どうもありがとう。
どういたしまして! あなたの例に従うために、アイコンから画像を取得していました。 アイコンを直接使用することもできましたが、サイズを変更することはできませんでした。
ジャーナルから保存された HTML 出力ファイルの上部に会社のバナーを作成しようとしています。
次のjslコードを使用します。
logo = open("会社ロゴ.png", png);
ロゴ << サイズを設定({93, 48});
H リスト ボックス(
ピクチャーボックス(ロゴ)、
テキストボックス(「会社名」)
)、
私が得た問題は、テキストボックス内のテキストが画像の上部に配置されていることです。 画像の下部にあるテキストを取得する必要があります。
優れたレポートヘッダーを作成するには何が最善の方法でしょうか。
注: JMP 16 を使用します。