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.A JMP report in the right side of a display tree. The left side is a vertical stack of two items.디스플레이 트리의 오른쪽에 있는 JMP 보고서. 왼쪽은 두 항목의 수직 스택입니다.
다음과 같이 사용할 수 있습니다.
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.Saved without opening a window.창을 열지 않고 저장됩니다.
답장을 보내주셔서 감사합니다. 나는 그림 상자 안에 아이콘 상자를 넣는 것에 대해 생각해 본 적이 없습니다.
감사합니다.
천만에요! 귀하의 예를 따르기 위해 아이콘에서 사진을 가져 왔습니다. 아이콘을 직접 사용할 수 있었지만 크기를 조정할 수 없었을 것입니다.
저널에서 저장한 html 출력 파일 상단에 회사 배너를 만들려고 합니다.
다음 jsl 코드를 사용합니다.
로고 = open("company_logo.png", png);
로고 << 크기 설정({93, 48});
H 목록 상자(
그림 상자(로고),
텍스트 상자( "회사 이름" )
),
내가 가진 문제는 텍스트 상자 안의 텍스트가 이미지 상단에 정렬된다는 것입니다. 이미지 하단에 텍스트를 가져와야합니다.
멋진 보고서 머리글을 만드는 가장 좋은 방법은 무엇입니까?
참고: JMP 16을 사용합니다.