As I can calculate the value of parameter x of function
TextOut()
if I cannot use the functions :
CreateFont
GetTextExtend ?
Thanks
As I can calculate the value of parameter x of function
TextOut()
if I cannot use the functions :
CreateFont
GetTextExtend ?
Thanks
Sorry, could you be more specific please?
I need to calculate the values of parametro x of the TextOut() function to carry out an exit of type:
Article Description Quantity Price Import
and as I am developing in Visual RPG language (type Visual BASIC) I cannot use the functions:
CreateFont()
GetTextExtend()
As I can calculate this parameter?
Thanks
Are you brazilian?
Your english is very difficult to understand...
If you are brazilian, please post the message in portuguese and then I will try to help you.
Ante todo perdón por mi anterior inglés.Soy española.
El problema que tengo , es que desarrollo en un lenguaje parecido a Visual Basic ,llamado Visual RPG , y con él no puedo utilizar las funciones:
CreateFont()
GetTextExtend()
y necesito saber como calcular los valores de los parámetros x e y de la función TextOut() para establecer correctamente las columnas de una salida de tipo :
Articulo Descripción Cantidad Precio Importe
dejando un espacio en blanco entre columnas y en función del tamaño de fuente elegido , ya que me encuentro que en lugar de dejar un espacio en blanco en la salida , para algunas columnas me aparecen más de uno.
Gracias
Não entendo muito bem espanhol, mas vamos ver se é isso que você quer:
O valor X da função TextOut() é onde (na horizontal) seu texto vai ser impresso.
Então você pode definir intervalos para x para imprimir as colunas.
Exemplo:
PDF.TextOut ( 10, 10, "Articulo")
PDF.TextOut ( 40, 10, "Descripción")
PDF.TextOut ( 70, 10, "Cantidad")
PDF.TextOut ( 100, 10, "Precio")
PDF.TextOut ( 130, 10, "Importe")
Eu fui incrementando o valor de X de 30 em 30 (se não couber você poderia aumentar mais).
Não sei se era isso que você queria, se não era me desculpe (sorry).
Fellipe Borges