manual_usuario:outros:formatadorrelatoriodesenv:fr_16_create_image_component

Essa é uma revisão anterior do documento!


<fs x-large>Formatador de Relatório - ReportBuilder (Resumo do guia do desenvolvedor)</fs>

TUTORIAL DE RELATÓRIOS - Emulação Forms com uma imagem WMF - Criar um componente de imagem


1. Place an image component on the left side of the detail band.

1. Colocar um componente de imagem no lado esquerdo da banda de detalhe.

2. Configure the Image component:

Center False
DirectDraw True
MaintainAspectRatio True
Stretch True

Note: We want the image to be scaled because it's a little too big to fit on the page, despite the zero margins. We do not want to distort the form in any way, so MaintainAspectRatio has been set to True. Center is not needed because we want to print the form at a position of 0,0 (this form image already contains white space around the edges). Finally, the DirectDraw property will force the image to be printed directly to the printer without utilizing an intermediate canvas, which usually results in higher quality output.

3. Right-click over the Image component and select the Picture… menu option.

4. Open the W2.WMF file. This file should be located in the RBuilder\Tutorials directory.

Nota: Nós queremos que a imagem a ser escalado, porque isso é um pouco grande demais para caber na página, apesar das margens nulas. Nós não queremos a distorcer a forma de qualquer forma, então maintainAspectRatio foi definido como True. Center não é necessária, porque queremos imprimir o formulário em uma posição de 0,0 (esta imagem forma já contém espaço em branco em torno das bordas). Finalmente, a propriedade DirectDraw forçará a imagem a ser impressa directamente à impressora sem a utilização de uma tela intermédia, o que geralmente resulta na produção mais elevada qualidade.

3. Dê um clique direito sobre o componente de imagem e selecione a imagem … opção de menu.

4. Abra o arquivo W2.WMF. Este arquivo deve estar localizado no diretório \ Tutoriais rBuilder.

5. Set the image component position:

Left 0
Top 0
Width 7.8125
Height 10.9792

manual_usuario/outros/formatadorrelatoriodesenv/fr_16_create_image_component.1423053095.txt.gz · Última modificação: por administrador