Hi,
I never have created a PCF before, and I would like to create one that'll help me, in a canvas app, in a file preview section (ideally PDF Preview), drag and drop an image into that very file, be able to resize it and move it around to finally save or print the output.
Thank you for your help.
Hi @DianaBirkelbach ,
That is actually quite an interesting approach!
I will give it a try (along with some other leads I'm exploring) and will let you know about the outcome.
Many thanks for the help.
Hi @Nebugadnizar ,
Since you are already in a Canvas App, how about using a PDF-Viewer control : https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/controls/control-pdf-viewer?WT.mc_id=BA-MVP-5004107
On top of it should be possible to place a PCF (you would need to make one), which is transparent but allows you to move an image around using Drag&drop and resize.
Finally you can use PDF() PowerFx function applied for a container containing both the PDF Viewer and the PCF: https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/how-to/pdf-function?WT.mc_id=BA-MVP-5004107
The open point: what library to use to implement the PCF. A fast "google" lead me to this, but I have have used it: https://konvajs.org/docs/sandbox/Image_Resize.html.
Hope it helps!
yes
Thank you so much for your reply!
Do you mean HTML based web resources?
your scenario will not benefit from a PCF control. Ideally this kind of scenario can be implemented using a web resource, your problem is to find the libraries to implement what you want to achieve.
WarrenBelz
55
Most Valuable Professional
mmbr1606
42
Super User 2025 Season 1
Michael E. Gernaey
31
Super User 2025 Season 1