Bom dia...
Tem alguma função da HARUPDF que retorna a posição dentro da página?
A altura da página tem a HPDF_Page_GetHeight(page) e para pegar a posição dentro da página?
Em tempo, onde consigo uma relação das funções da HARUPDF?
Obrigado
Rubens
HARUPDF - Posição dentro da página
Moderador: Moderadores
- Toledo
- Administrador

- Mensagens: 3133
- Registrado em: 22 Jul 2003 18:39
- Localização: Araçatuba - SP
- Contato:
HARUPDF - Posição dentro da página
Tente a seguinte função:rubens escreveu:Tem alguma função da HARUPDF que retorna a posição dentro da página?
Código: Selecionar todos
aPos:=HPdf_Page_GetCurrentPos( aPage )
? "Linha... "+Str(aPos[2])
? "Coluna.. "+Str(aPos[1])A classe HaruPDF tem em várias linguagens, segue o manual em PHP:rubens escreveu:onde consigo uma relação das funções da HARUPDF?
http://doc.xarli.net/php-doc/book.haru.html
ATENÇÃO: o nome das funções são diferentes, mas a sintaxe é praticamente a mesma, então serve apenas como referência.
Por exemplo a função HPDF_Page_GetHeight(page) no manual acima tem o nome: HaruPage::getHeight()... então neste manual troque o início do nome de cada função de HaruPage:: para HPDF_Page_.
Abraços,
Toledo - Clipper On Line
toledo@pctoledo.com.br
Harbour 3.2/MiniGui/HwGui
Faça uma doação para o fórum, clique neste link: http://www.pctoledo.com.br/doacao
toledo@pctoledo.com.br
Harbour 3.2/MiniGui/HwGui
Faça uma doação para o fórum, clique neste link: http://www.pctoledo.com.br/doacao
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
HARUPDF - Posição dentro da página
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
HARUPDF - Posição dentro da página
Ah sim, a lista das funções:
No Harbour 3.4
No Harbour 3.4
Código: Selecionar todos
d:\cdrom\fontes\integra>hbmk2 -find hpdf
hbhpdf.hbc (installed):
hb_HPDF_GetErrorString()
hb_HPDF_IsVersion()
hb_HPDF_Version()
...
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
