Betreff: Banner erstellenHListBox hat einen optionalen Parameter, um die horizontale Ausrichtung der untergeordneten Boxen anzupassen.Versuchen
logo = open("company_logo.png", png);
logo << set size({93, 48});
H List Box(
Align("Bottom"),
Picture Box(logo),
Text Box( "Company Name " )
)Betreff: Banner erstellenWenn Sie so etwas wollen
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.Ein JMP-Bericht auf der rechten Seite einer Anzeigestruktur. Die linke Seite ist ein vertikaler Stapel aus zwei Elementen.
So etwas könntest du gebrauchen
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 )
)
)
);
Die Verwendung einer vlistbox zum Erfassen des Berichts funktioniert in einigen seltenen Fällen besser als die meisten anderen Boxen. Der Bericht bemerkt, dass er innerhalb der vlist erstellt wird, und öffnet kein eigenes Fenster. Ich habe mit left(5) ein wenig Platz innerhalb der Logo-Boilerplate hinzugefügt und das Logo mit left(10), top(10) vom Rand wegbewegt.
Sie müssen das Fenster nicht auf dem Bildschirm anzeigen und das Bild manuell aufnehmen. Sie könnten dies verwenden:
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>
Bekommen
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.Gespeichert, ohne ein Fenster zu öffnen.
Betreff: Banner erstellenVielen Dank, dass Sie sich die Zeit genommen haben zu antworten. Ich habe nie darüber nachgedacht, eine Icon Box in eine Picture Box zu stecken.
Vielen Dank.
Betreff: Banner erstellenGern geschehen! Ich habe gerade das Bild vom Symbol genommen, um Ihrem Beispiel zu folgen. Es hätte das Symbol direkt verwenden können, aber dann hätte ich die Größe nicht ändern können.
So erstellen Sie ein BannerIch versuche, oben in meiner HTML-Ausgabedatei, die aus einem Journal gespeichert ist, ein Firmenbanner zu erstellen.
Ich verwende den folgenden JSL-Code:
logo = open("company_logo.png", png);
Logo << set size({93, 48});
H-Listenfeld(
Bildbox (Logo),
Textfeld („Firmenname“)
),
Das Problem, das ich habe, ist, dass der Text im Textfeld am oberen Rand des Bildes ausgerichtet ist. Ich muss den Text am unteren Rand des Bildes platzieren.
Was wäre der beste Weg, um einen schönen Berichtskopf zu erstellen?
Hinweis: Verwendung von JMP 16.
InhaltsorganisationErgebnisse teilen und kommunizieren