How to set Resolution property from code ?

FastReport for Xailer & [x]Harbour (English/Spanish)
Responder
Milan Mehta
Mensajes: 134
Registrado: Dom Dic 27, 2009 9:54 am

How to set Resolution property from code ?

Mensaje por Milan Mehta »

While exporting to jpg, can we have a property to set resolution from coding ?

FrPrn := frReportManager():new( cPath + "\FRSystH.dll" )

FrPrn:SetProperty("JPEGExport", "ShowDialog", .T. )
FrPrn:SetProperty("JPEGExport", "CropImages", .T.)
FrPrn:SetProperty("JPEGExport", "Monochrome", .F. )
FrPrn:SetProperty("JPEGExport", "JPEGQuality", 250)
FrPrn:SetProperty("JPEGExport", "Resolution", 250) ===> this is not working......
FrPrn:SetProperty("JPEGExport", "FileName", cFile )
FrPrn:DoExport("JPEGExport" )
Capture.PNG
Capture.PNG (9.35 KiB) Visto 1262 veces
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9255
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Re: How to set Resolution property from code ?

Mensaje por ignacio »

Imagen 347.png
Imagen 347.png (26.48 KiB) Visto 1255 veces
It should!
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder