Trying to have an imported image scale to fit form field in a PDF

New Here ,
Feb 06, 2020

Copy link to clipboard

Copied

Hi, I am creating a an editable PDF with multple form fields including an image field. I have a shape that is 1.5x1.25" for the field. I want to know if there is a script I can add so the importaed image scales up so it fits the shape 100% instead of just scaling proportionaly to the width or height.

 

Thanks

 

D

TOPICS
Acrobat SDK and JavaScript, Comment review and collaborate PDF, Create PDFs, Edit and convert PDFs, PDF forms, Rich media and 3D

Views

95

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Trying to have an imported image scale to fit form field in a PDF

New Here ,
Feb 06, 2020

Copy link to clipboard

Copied

Hi, I am creating a an editable PDF with multple form fields including an image field. I have a shape that is 1.5x1.25" for the field. I want to know if there is a script I can add so the importaed image scales up so it fits the shape 100% instead of just scaling proportionaly to the width or height.

 

Thanks

 

D

TOPICS
Acrobat SDK and JavaScript, Comment review and collaborate PDF, Create PDFs, Edit and convert PDFs, PDF forms, Rich media and 3D

Views

96

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 06, 2020 0
try67 LATEST
Most Valuable Participant ,
Feb 06, 2020

Copy link to clipboard

Copied

No. A script can't scale images. It can only set the same scaling options you'll find under the field's Properties.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 06, 2020 0