4D Blog

Home Product Full size background pictures with 4D Write Pro

Full size background pictures with 4D Write Pro

October 27, 2017

Product

There are common user stories where there is a need to have a background image fill the entire printable area, such as paper-folding lines or a watermark. It’s also sometimes required by a company’s graphic charter.

Thanks to a newly added style for background images, it is now possible to create background pictures filling the full page in 4D Write Pro! You can control this attribute, by either the 4D language or standard actions, or even by using the 4D Write Pro widget.

For a better understanding, this feature can be summarized with the illustration below:

Many options are available for background pictures, including clipping, repeating pattern and origin. Images could already be clipped to the border, the padding or to the content in previous versions. But they could not be clipped to the “paper”. Now they can!

The new attribute value (wk paper box) is available for documents/sections for background clipping and background origin.

Of course, the 4D Write Pro widget has also been updated: when selecting the “background picture” and “document” items, the clip and origin options now have a new paper-box option available.

Example database

Programming options

You can use the WP SET ATTRIBUTES command and set the new wk paper box value for background picture clipping and origin.

WP SET ATTRIBUTES(wpDoc;wk background image;vPict)
WP SET ATTRIBUTES(wpDoc;wk background clip;wk paper box)
WP SET ATTRIBUTES(wpDoc;wk background origin;wk paper box)

Another option is to use the standard actions with the INVOKE ACTION command, or in design mode as any other standard action.

// Set origin and clipping for document background image
INVOKE ACTION("doc/backgroundClip?value=paper-box")
INVOKE ACTION("doc/backgroundOrigin?value=paper-box")

Discuss

Tags 4D Write Pro, Pictures, UI, v16 R5, v17, Word processor

Latest related posts

  • February 3, 2026

    4D Write Pro – Adding a margin automatically when bullets are set using standard actions

  • January 22, 2026

    Transform Static Documents into Actionable Knowledge with AIKit

  • January 22, 2026

    Deploy Fluent UI effortlessly in your 4D applications

Caroline Briaud
Caroline Briaud
• 4D Product Team Leader •Caroline joined 4D SAS in July, 2013 as an Engineering Manager responsible for new features definition. Caroline helped the Engineering team to put in place the R-release concept, with the new development process definition and its application within 4D’s engineering teams.Caroline is now leading the 4D Product team, mainly made up of Product Owners which are representing the customers within Engineering.Caroline started her career as a software developer in the mobile phone industry. She specialized in program management with an American company in an international context spread across US, India and China.
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • AI
  • 4D View Pro
  • 4D Write Pro
  • 4D for Mobile
  • Email
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • Qodly Studio
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 21 R2 Administration AI Artificial Intelligence Build application CI/CD Class Client/Server Code editor Collections Formula Listbox Logs Mail Microsoft 365 Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience vscode Web Word processor

Tags

4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 21 R2 Administration AI Artificial Intelligence Build application CI/CD Class Client/Server Code editor Collections Formula Listbox Logs Mail Microsoft 365 Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience vscode Web Word processor
Subscribe to 4D Newsletter

© 2026 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

Contact us

Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!

* Your privacy is very important to us. Please click here to view our Policy